Enchantment - apace100/origins-fabric GitHub Wiki
Item Condition. Checks the level of a certain enchantment on the item.
Type ID: origins:enchantment
Fields:
enchantment
, string: ID of the enchantment of interest, e.g. minecraft:protection
.
comparison
, Comparison: How to compare the enchantment level the specified value.
compare_to
, int: Which value to compare the enchantment level against.