Nullorb: type: item material: emerald display name: <&d><&l>Null Orb mechanisms: custom_model_data: 106 lore: - <&d><&l>Fabled <&r><&d>Consumable - <&8><&m>⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<&r> - <&7>Capable of wiping enchantments from an item. - <&7>Click on an enchanted item to delete its enchantments. - <&c>Careful, this cannot be reverted! nullorb_handler: type: world debug: false events: on player clicks in inventory with:nullorb: - ratelimit 5t - if != air: - if : - determine passively cancelled - inventory adjust remove_enchantments slot: - take cursoritem quantity:1 - playsound sound:BLOCK_ANVIL_STEP - define lore - foreach lore - if ]> - adjust - wait 1t - inventory update - else: - narrate "<&c>Can only be used on an enchanted item." - playsound sound:BLOCK_NOTE_BLOCK_BASS pitch:0.1 - wait 1t - inventory update