Passive Listener Hotbar Select - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: hotbarselect

Properties:

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

Description:

The listener activates whenever a player selects an item on their hotbar.

String Format Options:

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

triggers:
    - hotbarselect (items)

Config Format Options:

(Unsupported for now.)