Class WolfMock

All Implemented Interfaces:
MessageTarget, io.papermc.paper.entity.CollarColorable, io.papermc.paper.entity.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>, org.bukkit.attribute.Attributable, org.bukkit.command.CommandSender, org.bukkit.entity.Ageable, org.bukkit.entity.Animals, org.bukkit.entity.Breedable, org.bukkit.entity.Creature, org.bukkit.entity.Damageable, org.bukkit.entity.Entity, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Sittable, org.bukkit.entity.Tameable, org.bukkit.entity.Wolf, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.permissions.Permissible, org.bukkit.permissions.ServerOperator, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.ProjectileSource

public class WolfMock extends TameableAnimalMock implements org.bukkit.entity.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 org.bukkit.entity.Wolf
    • setAngry

      public void setAngry(boolean angry)
      Specified by:
      setAngry in interface org.bukkit.entity.Wolf
    • getCollarColor

      @NotNull public @NotNull org.bukkit.DyeColor getCollarColor()
      Specified by:
      getCollarColor in interface io.papermc.paper.entity.CollarColorable
      Specified by:
      getCollarColor in interface org.bukkit.entity.Wolf
    • setCollarColor

      public void setCollarColor(@NotNull @NotNull org.bukkit.DyeColor color)
      Specified by:
      setCollarColor in interface io.papermc.paper.entity.CollarColorable
      Specified by:
      setCollarColor in interface org.bukkit.entity.Wolf
    • isWet

      public boolean isWet()
      Specified by:
      isWet in interface org.bukkit.entity.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 org.bukkit.entity.Wolf
    • isInterested

      public boolean isInterested()
      Specified by:
      isInterested in interface org.bukkit.entity.Wolf
    • setInterested

      public void setInterested(boolean interested)
      Specified by:
      setInterested in interface org.bukkit.entity.Wolf
    • getVariant

      @NotNull public @NotNull org.bukkit.entity.Wolf.Variant getVariant()
      Specified by:
      getVariant in interface org.bukkit.entity.Wolf
    • setVariant

      public void setVariant(@NotNull org.bukkit.entity.Wolf.Variant variant)
      Specified by:
      setVariant in interface org.bukkit.entity.Wolf
    • getType

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