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 2441 tags...
DescriptionReturns whether the item can be repaired.
If this returns true, it will enable access to:
Tag:ItemTag.max_durability, and Tag:ItemTag.durability.
Note that due to odd design choices in Spigot, this is effectively true for all items, even though the durability value of most items is locked at zero.
Generated Example
- if <player.item_in_hand.repairable>:
    - narrate "it was true!"
- else:
    - narrate "it was false!"