Class PandaEntity

    • Field Detail

      • UNHAPPY_COUNTER

        private static final DataParameter<java.lang.Integer> UNHAPPY_COUNTER
      • SNEEZE_COUNTER

        private static final DataParameter<java.lang.Integer> SNEEZE_COUNTER
      • EAT_COUNTER

        private static final DataParameter<java.lang.Integer> EAT_COUNTER
      • MAIN_GENE_ID

        private static final DataParameter<java.lang.Byte> MAIN_GENE_ID
      • HIDDEN_GENE_ID

        private static final DataParameter<java.lang.Byte> HIDDEN_GENE_ID
      • DATA_ID_FLAGS

        private static final DataParameter<java.lang.Byte> DATA_ID_FLAGS
      • gotBamboo

        private boolean gotBamboo
      • didBite

        private boolean didBite
      • rollCounter

        public int rollCounter
      • sitAmount

        private float sitAmount
      • sitAmountO

        private float sitAmountO
      • onBackAmount

        private float onBackAmount
      • onBackAmountO

        private float onBackAmountO
      • rollAmount

        private float rollAmount
      • rollAmountO

        private float rollAmountO
      • PANDA_ITEMS

        private static final java.util.function.Predicate<ItemEntity> PANDA_ITEMS
    • Method Detail

      • getUnhappyCounter

        public int getUnhappyCounter()
      • setUnhappyCounter

        public void setUnhappyCounter​(int p_213588_1_)
      • isSneezing

        public boolean isSneezing()
      • isSitting

        public boolean isSitting()
      • sit

        public void sit​(boolean p_213553_1_)
      • isOnBack

        public boolean isOnBack()
      • setOnBack

        public void setOnBack​(boolean p_213542_1_)
      • isEating

        public boolean isEating()
      • eat

        public void eat​(boolean p_213534_1_)
      • getEatCounter

        private int getEatCounter()
      • setEatCounter

        private void setEatCounter​(int p_213571_1_)
      • sneeze

        public void sneeze​(boolean p_213581_1_)
      • getSneezeCounter

        public int getSneezeCounter()
      • setSneezeCounter

        public void setSneezeCounter​(int p_213562_1_)
      • isRolling

        public boolean isRolling()
      • roll

        public void roll​(boolean p_213576_1_)
      • getFlag

        private boolean getFlag​(int p_213547_1_)
      • setFlag

        private void setFlag​(int p_213587_1_,
                             boolean p_213587_2_)
      • isLazy

        public boolean isLazy()
      • isWorried

        public boolean isWorried()
      • isPlayful

        public boolean isPlayful()
      • isWeak

        public boolean isWeak()
      • isScared

        public boolean isScared()
      • handleEating

        private void handleEating()
      • addEatingParticles

        private void addEatingParticles()
      • updateSitAmount

        private void updateSitAmount()
      • updateOnBackAnimation

        private void updateOnBackAnimation()
      • updateRollAmount

        private void updateRollAmount()
      • getSitAmount

        public float getSitAmount​(float p_213561_1_)
      • getLieOnBackAmount

        public float getLieOnBackAmount​(float p_213583_1_)
      • getRollAmount

        public float getRollAmount​(float p_213591_1_)
      • handleRoll

        private void handleRoll()
      • afterSneeze

        private void afterSneeze()
      • setGeneFromParents

        public void setGeneFromParents​(PandaEntity p_213545_1_,
                                       @Nullable
                                       PandaEntity p_213545_2_)
      • setAttributes

        public void setAttributes()
      • tryToSit

        private void tryToSit()
      • isFoodOrCake

        private boolean isFoodOrCake​(ItemStack p_213548_1_)
      • canPerformAction

        public boolean canPerformAction()