set_unbreakable
Permanent Effect
This effect is permanent and does not require a trigger.
Sets the unbreakable tag on an item
Effect Syntax
- id: set_unbreakable
args:
value: true # True = apply unbreakable, False = remove unbreakable
slot: holder # The slot to apply unbreakable (defaults to "holder")
persist_on_disable: true # If the unbreakable tag should persist when unequipped or effect deactivated
Slots you can use:
holder: The holder item (eg, the enchanted item, the talisman, the EcoItem, etc)mainhand: The item in the mainhandoffhand: The item in the offhandhelmet: The item in the head slotchestplate: The item in the chest slotleggings: The item in the legs slotboots: The item in the feet slot