Field Name |
Data Type |
Required |
Description |
Default Value |
shouldHave |
Boolean |
 |
Should this item have the enchantment (true) or should it not have the enchantment (false). If false, levels will not be checked |
true |
enchantmentKey |
String |
 |
The enchantment to use: modId and enchantmentId - Eg. "minecraft:protection" |
|
minLevel |
Whole Number |
 |
What is the minimum level the enchantment can be? If undeclared then the level won't be checked. If you don't declare the maxLevel then a specific level is checked instead of a range |
|
maxLevel |
Whole Number |
 |
What is the maximum level the enchantment can be? If you don't declare this value, it will be the same as the minimum level, meaning that the level of the enchantment must be one specific level instead of a range (inclusive of both min and max level) |
|