Class GuardianMock

All Implemented Interfaces:
MessageTarget, Frictional, 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, Creature, Damageable, Enemy, Entity, Guardian, LivingEntity, Mob, Monster, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource
Direct Known Subclasses:
ElderGuardianMock

public class GuardianMock extends MonsterMock implements Guardian
Mock implementation of a Guardian.
See Also:
  • Constructor Details

    • GuardianMock

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