Class PandaMock

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, Ageable, Animals, Breedable, Creature, Damageable, Entity, LivingEntity, Mob, Panda, Sittable, Lootable, Metadatable, Nameable, Permissible, ServerOperator, PersistentDataHolder, ProjectileSource

public class PandaMock extends AnimalsMock implements Panda
  • Constructor Details

    • PandaMock

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

    • getMainGene

      @NotNull public @NotNull Panda.Gene getMainGene()
      Specified by:
      getMainGene in interface Panda
    • setMainGene

      public void setMainGene(@NotNull @NotNull Panda.Gene gene)
      Specified by:
      setMainGene in interface Panda
    • getHiddenGene

      @NotNull public @NotNull Panda.Gene getHiddenGene()
      Specified by:
      getHiddenGene in interface Panda
    • setHiddenGene

      public void setHiddenGene(@NotNull @NotNull Panda.Gene gene)
      Specified by:
      setHiddenGene in interface Panda
    • isRolling

      public boolean isRolling()
      Specified by:
      isRolling in interface Panda
    • setRolling

      public void setRolling(boolean flag)
      Specified by:
      setRolling in interface Panda
    • isSneezing

      public boolean isSneezing()
      Specified by:
      isSneezing in interface Panda
    • setSneezing

      public void setSneezing(boolean flag)
      Specified by:
      setSneezing in interface Panda
    • isOnBack

      public boolean isOnBack()
      Specified by:
      isOnBack in interface Panda
    • setOnBack

      public void setOnBack(boolean flag)
      Specified by:
      setOnBack in interface Panda
    • isEating

      public boolean isEating()
      Specified by:
      isEating in interface Panda
    • setEating

      public void setEating(boolean flag)
      Specified by:
      setEating in interface Panda
    • isScared

      public boolean isScared()
      Specified by:
      isScared in interface Panda
    • getUnhappyTicks

      public int getUnhappyTicks()
      Specified by:
      getUnhappyTicks in interface Panda
    • setSneezeTicks

      public void setSneezeTicks(int ticks)
      Specified by:
      setSneezeTicks in interface Panda
    • getSneezeTicks

      public int getSneezeTicks()
      Specified by:
      getSneezeTicks in interface Panda
    • setEatingTicks

      public void setEatingTicks(int ticks)
      Specified by:
      setEatingTicks in interface Panda
    • getEatingTicks

      public int getEatingTicks()
      Specified by:
      getEatingTicks in interface Panda
    • setUnhappyTicks

      public void setUnhappyTicks(int ticks)
      Specified by:
      setUnhappyTicks in interface Panda
    • setSitting

      public void setSitting(boolean sitting)
      Specified by:
      setSitting in interface Panda
      Specified by:
      setSitting in interface Sittable
    • isSitting

      public boolean isSitting()
      Specified by:
      isSitting in interface Panda
      Specified by:
      isSitting in interface Sittable
    • getCombinedGene

      @NotNull public @NotNull Panda.Gene getCombinedGene()
      Specified by:
      getCombinedGene in interface Panda
    • getType

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