Base Enchantment
Checks the level of an enchantment on an item based purely on item nbt.
Type ID: apugli:base_enchantment
Fields
| Field | Type | Default | Description |
|---|---|---|---|
enchantment |
Identifier | The namespace and ID of the enchantment of interest, e.g. minecraft:protection. |
|
comparison |
Comparison | ">=" |
How to compare the enchantment level to the specified value. |
compare_to |
Integer | The value to compare the enchantment level against. |
Example
"condition": {
"type": "apugli:base_enchantment",
"enchantment": "minecraft:fortune",
"calculation": "max",
"comparison": ">=",
"compare_to": 3
}
apugli:modify_enchantment_level power or any other non nbt enchantment level modifications.