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 652 mechanisms...
Namecustom_model_data
ObjectItemTag
InputElementTag(Number)
Related Tags<ItemTag.custom_model_data> (Property) Returns the custom model data ID number of the item. (...)
Description(Property) Sets the custom model data ID number of the item.
Use with no input to remove the custom model data.
See also Tag:ItemTag.has_custom_model_data
Generated Example
- adjust <player.item_in_hand> custom_model_data:2
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L11