Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 632 mechanisms...
Nameunbreakable
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.unbreakable> Returns whether an item has the unbreakable flag.
DescriptionChanges whether an item has the unbreakable item flag.
Generated Example
- adjust <player.item_in_hand> unbreakable:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemUnbreakable.java#L69