Class PROTEGO_MAXIMA


public final class PROTEGO_MAXIMA extends StationarySpell
A stronger version of Protego that covers an area (rather than the caster) and protects against stronger spells. In HP this spell would also repel hostile entities like dementors but Spigot does not provide an entity move event so we have no way to handle controlling entity movement.

PROTEGO_MAXIMA

Since:
2.21
See Also:
  • Constructor Details

    • PROTEGO_MAXIMA

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

      public PROTEGO_MAXIMA(@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