java.lang.Object
net.pottercraft.ollivanders2.stationaryspell.O2StationarySpell
net.pottercraft.ollivanders2.stationaryspell.ShieldSpell
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConcealmentShieldSpell, MUFFLIATO, PROTEGO_HORRIBILIS, PROTEGO_MAXIMA, PROTEGO_TOTALUM

public abstract class ShieldSpell extends O2StationarySpell
Super class for all shield spells
See Also:
  • Constructor Details

    • ShieldSpell

      public ShieldSpell(@NotNull @NotNull Ollivanders2 plugin)
      Simple constructor used for deserializing saved stationary spells at server start. Do not use to cast spell.
      Parameters:
      plugin - a callback to the MC plugin
    • ShieldSpell

      public ShieldSpell(@NotNull @NotNull Ollivanders2 plugin, @NotNull @NotNull UUID pid, @NotNull @NotNull org.bukkit.Location location)
      Simple constructor used for deserializing saved stationary spells at server start. Do not use to cast spell.
      Parameters:
      plugin - a callback to the MC plugin
      pid - the player who cast the spell
      location - the center location of the spell