Class FoxMock

All Implemented Interfaces:
MessageTarget, 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.Fox, org.bukkit.entity.LivingEntity, org.bukkit.entity.Mob, org.bukkit.entity.Sittable, 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 FoxMock extends AnimalsMock implements org.bukkit.entity.Fox
Mock implementation of a Fox.
See Also:
  • Constructor Details

    • FoxMock

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

    • getFoxType

      @NotNull public @NotNull org.bukkit.entity.Fox.Type getFoxType()
      Specified by:
      getFoxType in interface org.bukkit.entity.Fox
    • setFoxType

      public void setFoxType(@NotNull @NotNull org.bukkit.entity.Fox.Type type)
      Specified by:
      setFoxType in interface org.bukkit.entity.Fox
    • isCrouching

      public boolean isCrouching()
      Specified by:
      isCrouching in interface org.bukkit.entity.Fox
    • setCrouching

      public void setCrouching(boolean crouching)
      Specified by:
      setCrouching in interface org.bukkit.entity.Fox
    • setSleeping

      public void setSleeping(boolean sleeping)
      Specified by:
      setSleeping in interface org.bukkit.entity.Fox
    • isSleeping

      public boolean isSleeping()
      Specified by:
      isSleeping in interface org.bukkit.entity.LivingEntity
      Overrides:
      isSleeping in class LivingEntityMock
    • getFirstTrustedPlayer

      @Nullable public @Nullable org.bukkit.entity.AnimalTamer getFirstTrustedPlayer()
      Specified by:
      getFirstTrustedPlayer in interface org.bukkit.entity.Fox
    • setFirstTrustedPlayer

      public void setFirstTrustedPlayer(@Nullable @Nullable org.bukkit.entity.AnimalTamer player)
      Specified by:
      setFirstTrustedPlayer in interface org.bukkit.entity.Fox
    • getSecondTrustedPlayer

      @Nullable public @Nullable org.bukkit.entity.AnimalTamer getSecondTrustedPlayer()
      Specified by:
      getSecondTrustedPlayer in interface org.bukkit.entity.Fox
    • setSecondTrustedPlayer

      public void setSecondTrustedPlayer(@Nullable @Nullable org.bukkit.entity.AnimalTamer player)
      Specified by:
      setSecondTrustedPlayer in interface org.bukkit.entity.Fox
    • isFaceplanted

      public boolean isFaceplanted()
      Specified by:
      isFaceplanted in interface org.bukkit.entity.Fox
    • setFaceplanted

      public void setFaceplanted(boolean faceplanted)
      Specified by:
      setFaceplanted in interface org.bukkit.entity.Fox
    • setInterested

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

      public boolean isInterested()
      Specified by:
      isInterested in interface org.bukkit.entity.Fox
    • setLeaping

      public void setLeaping(boolean leaping)
      Specified by:
      setLeaping in interface org.bukkit.entity.Fox
    • isLeaping

      public boolean isLeaping()
      Specified by:
      isLeaping in interface org.bukkit.entity.Fox
    • setDefending

      public void setDefending(boolean defending)
      Specified by:
      setDefending in interface org.bukkit.entity.Fox
    • isDefending

      public boolean isDefending()
      Specified by:
      isDefending in interface org.bukkit.entity.Fox
    • isSitting

      public boolean isSitting()
      Specified by:
      isSitting in interface org.bukkit.entity.Sittable
    • setSitting

      public void setSitting(boolean sitting)
      Specified by:
      setSitting in interface org.bukkit.entity.Sittable
    • getType

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