Passive Listener Player Animate - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: playeranimate

Properties:

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

Description:

The listener activates whenever a player's arm animates due to performing an action.

String Format Options:

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

triggers:
    - playeranimate (items)

Config Format Options:

(Unsupported for now.)