Class BatMock

All Implemented Interfaces:
MessageTarget, 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, Ambient, Bat, Damageable, Entity, LivingEntity, Mob, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource

public class BatMock extends AmbientMock implements Bat
  • Constructor Details

    • BatMock

      public BatMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
  • Method Details

    • isAwake

      public boolean isAwake()
      Specified by:
      isAwake in interface Bat
    • setAwake

      public void setAwake(boolean state)
      Specified by:
      setAwake in interface Bat
    • getType

      @NotNull public @NotNull EntityType getType()
      Specified by:
      getType in interface Entity
      Overrides:
      getType in class EntityMock