Passive Listener Right Click Item - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: rightclickitem

Properties:

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

Description:

The listener activates whenever a player right-clicks an item.

String Format Options:

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

triggers:
    - rightclickitem (items)

Section Format Options:

(Unsupported for now.)