Passive Listener Buff - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

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 or adventure.
    • 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 or spectator.
    • Player leaves.
    • Player dies.
    • Caster is forced to forget this passive spell.