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 644 mechanisms...
Namecustom_model_data
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.has_custom_model_data> Returns whether the item has a custom model data ID number set on it. (...)
<ItemTag.custom_model_data> Returns the custom model data ID number of the item. (...)
DescriptionChanges the custom model data ID number of the item.
Use with no input to remove the custom model data.
Generated Example
- adjust <player.item_in_hand> custom_model_data:1
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L99