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 632 mechanisms...
Namemap_locked
ObjectItemTag
InputElementTag(Boolean)
Related Tags<ItemTag.map> Returns the ID number of the map item's map.
<ItemTag.map_locked> Returns whether maps with the same ID as this map are locked.
DescriptionChanges whether the map is currently locked.
Note that this applies globally to all map items with the same ID.
Generated Example
- adjust <player.item_in_hand> map_locked:true
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemMap.java#L211