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...
Nameitem_in_hand
ObjectEntityTag
InputItemTag
Related Tags<EntityTag.item_in_hand> Returns the item the entity is holding, or air if none.
DescriptionSets the item in the entity's hand.
The entity must be living.
Generated Example
- adjust <player> item_in_hand:stick
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityItemInHand.java#L90