Class FriendlyMobDisguise

Direct Known Subclasses:
AVIFORS, DRACONIFORS, DUCKLIFORS, EQUUSIFORS, LAGOMORPHA, VERA_VERTO

public abstract class FriendlyMobDisguise extends EntityDisguise
Super class for transfiguring friendly mobs.
See Also:
  • Field Details

    • smallFriendlyMobs

      public static final List<org.bukkit.entity.EntityType> smallFriendlyMobs
      Small size friendly and neutral mobs (mostly birds and fish).
    • mediumFriendlyMobs

      public static final List<org.bukkit.entity.EntityType> mediumFriendlyMobs
      Medium size friendly mobs.
    • largeFriendlyMobs

      public static final List<org.bukkit.entity.EntityType> largeFriendlyMobs
      Large size friendly mobs. Ender Dragon is explicitly excluded as it is too big/strong to target.
  • Constructor Details

    • FriendlyMobDisguise

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

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