Class WitherMock

All Implemented Interfaces:
RangedEntity, Frictional, Leashable, PersistentDataViewHolder, net.kyori.adventure.audience.Audience, net.kyori.adventure.pointer.Pointered, net.kyori.adventure.sound.Sound.Emitter, net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>, Attributable, CommandSender, Boss, Creature, Damageable, Enemy, Entity, LivingEntity, Mob, Monster, Wither, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource, MessageTarget

public class WitherMock extends MonsterMock implements Wither
  • Field Details

  • Constructor Details

    • WitherMock

      public WitherMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new WitherMock on the provided ServerMock with a specified UUID.
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
    • WitherMock

      public WitherMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid, @NotNull @NotNull WorldMock worldMock)
      Constructs a new WitherMock on the provided ServerMock with a specified UUID. Within a WorldMock in order to determine its health with the game difficulty
      Parameters:
      server - The server to create the entity on.
      uuid - The UUID of the entity.
      worldMock - World where the wither is
  • Method Details