Denizen Script Tags


Tags are always written with a <between these marks>, and are critical to scripts, as the primary way to read data.
Learn about how tags work in The Beginner's Guide.


Showing 1 out of 2487 tags...
Name<ItemTag.max_durability>
ReturnsElementTag(Number)
MechanismItemTag.max_durability
Description(Property) Returns the maximum durability (number of uses) of this item.
For use with Tag:ItemTag.durability and Mechanism:ItemTag.durability.
See also Language:Item Components.
Generated Example
- narrate "the number value is <player.item_in_hand.max_durability>"
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/datacomponents/MaxDurabilityAdapter.java#L9