Interface Panda

All Superinterfaces:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Sittable

public interface Panda extends Animals, Sittable
Panda entity.
  • Method Details

    • getMainGene

      @NotNull Panda.Gene getMainGene()
      Gets this Panda's main gene.
      Returns:
      main gene
    • setMainGene

      void setMainGene(@NotNull Panda.Gene gene)
      Sets this Panda's main gene.
      Parameters:
      gene - main gene
    • getHiddenGene

      @NotNull Panda.Gene getHiddenGene()
      Gets this Panda's hidden gene.
      Returns:
      hidden gene
    • setHiddenGene

      void setHiddenGene(@NotNull Panda.Gene gene)
      Sets this Panda's hidden gene.
      Parameters:
      gene - hidden gene
    • isRolling

      boolean isRolling()
      Gets whether the Panda is rolling
      Returns:
      Whether the Panda is rolling
    • setRolling

      void setRolling(boolean flag)
      Sets whether the Panda is rolling
      Parameters:
      flag - Whether the Panda is rolling
    • isSneezing

      boolean isSneezing()
      Gets whether the Panda is sneezing
      Returns:
      Whether the Panda is sneezing
    • setSneezing

      void setSneezing(boolean flag)
      Sets whether the Panda is sneezing
      Parameters:
      flag - Whether the Panda is sneezing
    • isOnBack

      boolean isOnBack()
      Gets whether the Panda is on its back
      Returns:
      Whether the Panda is on its back
    • setOnBack

      void setOnBack(boolean flag)
      Sets whether the Panda is on its back
      Parameters:
      flag - Whether the Panda is on its back
    • isEating

      boolean isEating()
      Gets whether the Panda is eating
      Returns:
      Whether the Panda is eating
    • setEating

      void setEating(boolean flag)
      Sets the Panda's eating status. The panda must be holding food for this to work
      Parameters:
      flag - Whether the Panda is eating
    • isScared

      boolean isScared()
      Gets whether the Panda is scared
      Returns:
      Whether the Panda is scared
    • getUnhappyTicks

      int getUnhappyTicks()
      Gets how many ticks the panda will be unhappy for
      Returns:
      The number of ticks the panda will be unhappy for