item has enchantment element. So if you had an <item> variable you could use the element if item has enchantment and enchantment level. it would be an if else statement. Maybe this could be added to the Inventory Utils addon.
How would it benefit others? (Required)
This would help work with items for more custom action
Images and/or video’s (optional)