Class LUMOS_CAERULEUM

java.lang.Object
net.pottercraft.ollivanders2.spell.O2Spell
net.pottercraft.ollivanders2.spell.LUMOS_CAERULEUM

public final class LUMOS_CAERULEUM extends O2Spell
Captures magical blue flames in a glass bottle, creating a portable light source.

This spell transforms a glass bottle held in the player's off-hand into a soul fire lantern.

Since:
2.21.4
See Also:
  • Constructor Details

    • LUMOS_CAERULEUM

      public LUMOS_CAERULEUM(Ollivanders2 plugin)
      Default constructor for use in generating spell text. Do not use to cast the spell.
      Parameters:
      plugin - the Ollivanders2 plugin
    • LUMOS_CAERULEUM

      public LUMOS_CAERULEUM(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull Double rightWand)
      Constructor.
      Parameters:
      plugin - a callback to the MC plugin
      player - the player who cast this spell
      rightWand - which wand the player was using
  • Method Details

    • checkEffect

      public void checkEffect()
      Transform a glass bottle into a soul fire lantern Override checkEffect to prevent projectile creation
      Overrides:
      checkEffect in class O2Spell
    • doCheckEffect

      protected void doCheckEffect()
      Nothing to do since we overrode checkEffect() itself
      Specified by:
      doCheckEffect in class O2Spell