Passive Listener Prepare Enchant - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: prepareenchant

Properties:

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

Description:

The listener activates whenever a player puts an item in an enchantment table slot.

String Format Options:

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

triggers:
    - prepareenchant (items)

Section Format Options:

(Unsupported for now.)