Passive Listener Potion Effect - TheComputerGeek2/MagicSpells GitHub Wiki
PassiveSpell trigger: potioneffect
Properties:
| Property | Value |
|---|---|
| Cancellable | true |
| Has Entity Target | false |
| Has Location Target | false |
Description:
The listener activates whenever the state of an entity's potion effect status changes.
String Format Options:
Each option is a comma-separated list but can be replaced with a wildcard (*):
(type)- List of potion effect types.(action)- List of actions that caused the change in status of the potion effect.(cause)- The cause of why the potion effect status changed.
triggers:
- potioneffect (type) (action) (cause)
Section Format Options:
(Unsupported for now.)