Passive Listener Food Level Change - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: foodlevelchange

Properties:

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

Description:

The listener activates whenever a player's food level changes.

String Format Options:

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

triggers:
    - foodlevelchange (items)

Config Format Options:

(Unsupported for now.)