Skip to content
Success

Changes

Summary

  1. add stained glass dMaterials (commit: 4e8facd) (details)
  2. Add plant dMats (commit: dcb6436) (details)
  3. add ItemQuantity property (commit: e570375) (details)
  4. Allow all object types to have Property tags (commit: 517952a) (details)
  5. Organize dMaterials, add list of Todos (commit: 006401a) (details)
  6. Add ItemDurability property (commit: 9a9a672) (details)
  7. add ItemSkullskin property (commit: 29b2425) (details)
  8. add slab dMaterials (commit: 16bdc76) (details)
  9. Parse decimals in tags properly (commit: c46fe58) (details)
  10. Save a get operation in ScriptEntry#getNext() - this seems to be the (commit: 1e05cf3) (details)
Commit 4e8facd37a5556c83e6ee84a948701fbb54c36c3 by mcmonkey4eva
add stained glass dMaterials

So many dMaterials 0.o
(commit: 4e8facd)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/ItemScriptHelper.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dItem.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
Commit e570375399c56ca3120fd782b5b5a40709953999 by mcmonkey4eva
add ItemQuantity property

A property to keep track of the item's quantity
(commit: e570375)
The file was addedsrc/main/java/net/aufdemrand/denizen/objects/properties/Item/ItemQuantity.java
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/item/GiveCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dItem.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/PropertyParser.java (diff)
Commit 517952a42fc9c66b01a82cbfdc2044c5b988122f by mcmonkey4eva
Allow all object types to have Property tags

This isn't particularly useful within Denizen itself currently (most
object types shouldn't have identifying properties, and we can directly
add tags) but this is of use to external plugins (like Depenizen) who
want to add their own tags to a dObject -- they can simply use the
property system for this now.
(commit: 517952a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dLocation.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dList.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Duration.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dScript.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dPlayer.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dColor.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dCuboid.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dNPC.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dWorld.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dChunk.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dInventory.java (diff)
Commit 006401a5382cd8a3ab4ee445ce7147fc3561d5c2 by mcmonkey4eva
Organize dMaterials, add list of Todos

- Added some labels for clarity
- Added some more missing materials
- Added log rotations (there are 2 rotations and the weird one I called
'ball')
- Removed 'natural_coal', which should just be considered normal 'coal',
similar to how sand is just 'sand', rather than 'yellow_sand' or
something weird like that.
(That rule doesn't make sense for things like planks, in which no given
wood breed can be considered dominant)
- Two TODO groups of materials to add
-a list of TODO properties... listed in dMaterial purely as information
that each of these properties is technically a datavalue but is better
stored as a Property than writing out a huge list of dMaterials for them
(Logs are the exception to the rotation rule as there are so few of
them, and of the rotation options isn't so much a rotation as a block on
its own anyway)
(commit: 006401a)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
Commit 9a9a672513bb2d811eadef7bea0e9e6d3ae06bfd by mcmonkey4eva
Add ItemDurability property

A property for damaged items!
Also fix a few minor side errors
(commit: 9a9a672)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/Item/ItemQuantity.java (diff)
The file was addedsrc/main/java/net/aufdemrand/denizen/objects/properties/Item/ItemDurability.java
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dItem.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/PropertyParser.java (diff)
Commit 29b24255042e07c9df25d393dfdafa9f3d049895 by mcmonkey4eva
add ItemSkullskin property

For human_skull (skull_item)'s
Now they won't lose their owner
(commit: 29b2425)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
The file was addedsrc/main/java/net/aufdemrand/denizen/objects/properties/Item/ItemSkullskin.java
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dItem.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/Item/ItemDurability.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/properties/PropertyParser.java (diff)
Commit 16bdc76f94f384e5a4ad8b9cb7c02c3b0b26d780 by mcmonkey4eva
add slab dMaterials

Yay slabs! And double slabs! and slab_up's!
(commit: 16bdc76)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/dMaterial.java (diff)
Commit c46fe584518a25abeedd5bc5c20b679677c5c354 by mcmonkey4eva
Parse decimals in tags properly

<[email protected],2.0,3.0,world.highest> will now return the highest location at
that point
<[email protected][2]> will return 5.0
etc.
Hooray!
(commit: c46fe58)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/objects/Element.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/Attribute.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/events/bukkit/ReplaceableTagEvent.java (diff)
Commit 1e05cf385d2b430ad6e7d17aaf36d51f3d08d955 by fullwall
Save a get operation in ScriptEntry#getNext() - this seems to be the bottleneck for Denizen, so perhaps could look into using a Queue or entry head index in the future
(commit: 1e05cf3)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/queues/ScriptQueue.java (diff)