on tool change: tool after event will be sword wait 5 ticks set {_item} to player's tool {_item} is enchanted with fire aspect size of (enchantments of {_item}) > 1 loop enchantments of {_item}: add "%loop-value% %loop-value's level of {_item}%" parsed as enchantment type to {_ench::*} disenchant {_item} loop {_ench::*}: "%loop-value%" doesn't contain "fire aspect" enchant {_item} with loop-value