Class PlayerDisguise

Direct Known Subclasses:
BOS, CANIS, ENTOMORPHIS, EQUUS, FELIS, LAMA, PULLUS, SUS, URSUS

public abstract class PlayerDisguise extends EntityDisguise
Super class for all transfigurations of players.
  • Constructor Details

    • PlayerDisguise

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

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