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 668 mechanisms...
Nameitem_slot
ObjectPlayerTag
InputElementTag(Number)
Related Tags<PlayerTag.held_item_slot> Returns the slot location of the player's selected item.
DescriptionSets the inventory slot that the player has selected.
Works with offline players.
Generated Example
- adjust <player> item_slot:4
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2895