Class AbstractPiglinEntity

    • Field Detail

      • DATA_IMMUNE_TO_ZOMBIFICATION

        protected static final DataParameter<java.lang.Boolean> DATA_IMMUNE_TO_ZOMBIFICATION
      • timeInOverworld

        protected int timeInOverworld
    • Method Detail

      • applyOpenDoorsAbility

        private void applyOpenDoorsAbility()
      • canHunt

        protected abstract boolean canHunt()
      • setImmuneToZombification

        public void setImmuneToZombification​(boolean p_242340_1_)
      • isImmuneToZombification

        protected boolean isImmuneToZombification()
      • isConverting

        public boolean isConverting()
      • finishConversion

        protected void finishConversion​(ServerWorld p_234416_1_)
      • isAdult

        public boolean isAdult()
      • isHoldingMeleeWeapon

        protected boolean isHoldingMeleeWeapon()
      • playConvertedSound

        protected abstract void playConvertedSound()