Passive Listener Buff - TheComputerGeek2/MagicSpells GitHub Wiki
PassiveSpell
trigger: buff
Properties:
Property | Value |
---|---|
Cancellable | false |
Has Entity Target | false |
Has Location Target | false |
Description:
The listener ensures the buff spells specified in spells
are always active. Since 4.0 Beta 13 non-buff spells listed are also cast on enable.
- Enables spells on:
- MagicSpells reloads.
- Entity caster spawns.
- Chunk where the entity caster is loaded.
- GameMode is switched to
survival
oradventure
. - Player joins.
- Player respawns.
- Player learns this passive spell.
- Disables buffs on:
- Chunk where entity caster is unloaded.
- GameMode of the player caster is switched to
creative
orspectator
. - Player leaves.
- Player dies.
- Caster is forced to forget this passive spell.