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 625 mechanisms...
Namematerial
ObjectItemTag
InputMaterialTag
Related Tags<ItemTag.material> Returns the MaterialTag that is the basis of the item. (...)
DescriptionChanges the item's material to the given material.
Only copies the base material type, not any advanced block-data material properties.
Note that this may cause some properties of the item to be lost.
Generated Example
- adjust <player.item_in_hand> material:dirt
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/ItemTag.java#L739