Passive Listener Inventory Action - TheComputerGeek2/MagicSpells GitHub Wiki
PassiveSpell
trigger: inventoryaction
Properties:
Property | Value |
---|---|
Cancellable | open action |
Has Entity Target | false |
Has Location Target | false |
Description:
The listener activates whenever a player opens or closes an inventory (excluding opening the player inventory).
String Format Options:
The argument is optional but may be a comma-separated list of open
or close
. Only the opening action can be cancelled.
triggers:
- inventoryaction (actions)
Config Format Options:
(Unsupported for now.)