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