Class LUMOS_MAXIMA

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

public final class LUMOS_MAXIMA extends O2Spell
Creates a glowstone at the reticule that goes away after a time.
See Also:
  • Constructor Details

    • LUMOS_MAXIMA

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

      public LUMOS_MAXIMA(Ollivanders2 plugin, org.bukkit.entity.Player player, 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

    • doCheckEffect

      protected void doCheckEffect()
      Create a line of glowstone from the caster's wand then age the effect and revert the blocks
      Specified by:
      doCheckEffect in class O2Spell
    • revert

      public void revert()
      Revert all the blocks changed by this spell
      Overrides:
      revert in class O2Spell