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 644 mechanisms...
Nameremove_enchantments
ObjectItemTag
InputListTag
Related Tags<ItemTag.enchantment_types> Returns a list of the types of enchantments on the item.
<ItemTag.enchantment_map> Returns a map of enchantments on the item. (...)
DescriptionRemoves the specified enchantments from the item (as a list of EnchantmentTags).
Give no value input to remove all enchantments.
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemEnchantments.java#L193