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...
Namerepair_cost
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.repair_cost> Returns the current repair cost (on an anvil) for this item. (...)
DescriptionChanges the repair cost (on an anvil) of the item.
Generated Example
- adjust <player.item_in_hand> repair_cost:3
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemRepairCost.java#L85