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 673 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.
Prefer Property:ItemTag.item_model on MC 1.21+.
See also Tag:ItemTag.has_custom_model_data
Generated Example
- adjust <player.item_in_hand> custom_model_data:4
GroupProperties
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemCustomModel.java#L11