Name | disabled_slots |
Object | EntityTag |
Input | MapTag |
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.
|
Description | Sets 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. |
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityDisabledSlots.java#L159 |