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_on_cursor
ObjectPlayerTag
InputItemTag
Related Tags<PlayerTag.item_on_cursor> Returns the item on the player's cursor, if any. This includes (...)
DescriptionSets the item on the player's cursor.
This includes chest interfaces, inventories, and hotbars, etc.
Generated Example
- adjust <player> item_on_cursor:iron_sword
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/PlayerTag.java#L2909