Passive Listener Enchant - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: enchant

Properties:

Property Value
Cancellable true
Has Entity Target false
Has Location Target false

Description:

The listener activates whenever an item is enchanted.

String Format Options:

Arguments are optional but may be a pipe-separated (|) list of items following the Magic Item String format.

triggers:
    - enchant (items)

Section Format Options:

(Unsupported for now.)