Passive Listener Left Click Item - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: leftclickitem

Properties:

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

Description:

The listener activates whenever a player left-clicks.

String Format Options:

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

triggers:
    - leftclickitem (items)

Config Format Options:

(Unsupported for now.)