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 555 mechanisms...
Namedisabled_slots
ObjectEntityTag
InputMapTag
Related Tags<EntityTag.disabled_slots_data> If the entity is an armor stand, returns its disabled slots as a map of slot names to list of actions.
DescriptionSets the disabled slots of an armor stand as a map of slot names to list of actions.
For example: [HEAD=PLACE|REMOVE;CHEST=PLACE;FEET=ALL]
Provide no input to enable all slots.
Slots: 🔗https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html
Actions: ALL, REMOVE, PLACE
NOTE: Minecraft contains a bug where disabling ALL for the HAND slot still allows item removal.
To fully disable hand interaction, disable ALL and REMOVE.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L159