List of useable effects for creating custom enchantments.
What are effects?
Effects are custom abilities that will trigger when an enchantment is active.
Most effects will require arguments that are just customizable options. If the effect requires arguments then you will need to add some to avoid errors.
To view a list of effects and how to use them, either execute /ee effects in-game or check below.
You should also check /ee effects since this might not be updated to latest
Effect
Description
ADD_DURABILITY:[AMOUNT]
Patch player's armor by a number of durability
ADD_DURABILITY_ITEM:[AMOUNT]
Patch player's held item by a number of durability
ARMOR_CANCEL
Cancel armor damage
AUTO_LOCK
Auto lock onto a target
BREAK_TREE
Instantly break trees
BREAKER:[BLOCK]
Instantly break a block [INTERACT ONLY]
CANCEL
Cancel the event the enchant is triggered on [i.e. On DEFENSE would cancel damage]
COMMAND:[CMD]:[PLAYER/CONSOLE]
Execute a command [%player% placeholder]
CURE:[EFFECT]:[REMOVE-PERMANENT(true/false)]
Removes a potion from a player [Excludes permanent effects]