Class WolfMock

All Implemented Interfaces:
MessageTarget, CollarColorable, 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, Ageable, Animals, Breedable, Creature, Damageable, Entity, LivingEntity, Mob, Sittable, Tameable, Wolf, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource

public class WolfMock extends TameableAnimalMock implements Wolf
Mock implementation of a Wolf.
See Also:
  • Constructor Details

    • WolfMock

      public WolfMock(@NotNull @NotNull ServerMock server, @NotNull @NotNull UUID uuid)
      Constructs a new WolfMock 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

    • isAngry

      public boolean isAngry()
      Specified by:
      isAngry in interface Wolf
    • setAngry

      public void setAngry(boolean angry)
      Specified by:
      setAngry in interface Wolf
    • getCollarColor

      @NotNull public @NotNull DyeColor getCollarColor()
      Specified by:
      getCollarColor in interface CollarColorable
      Specified by:
      getCollarColor in interface Wolf
    • setCollarColor

      public void setCollarColor(@NotNull @NotNull DyeColor color)
      Specified by:
      setCollarColor in interface CollarColorable
      Specified by:
      setCollarColor in interface Wolf
    • isWet

      public boolean isWet()
      Specified by:
      isWet in interface Wolf
    • setWet

      public void setWet(boolean wet)
      Sets whether the wolf is wet or not.
      Parameters:
      wet - Whether the wolf is wet or not.
    • getTailAngle

      public float getTailAngle()
      Specified by:
      getTailAngle in interface Wolf
    • isInterested

      public boolean isInterested()
      Specified by:
      isInterested in interface Wolf
    • setInterested

      public void setInterested(boolean interested)
      Specified by:
      setInterested in interface Wolf
    • getType

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