Class ResetAngerGoal<T extends MobEntity & IAngerable>

    • Field Detail

      • alertOthersOfSameType

        private final boolean alertOthersOfSameType
      • lastHurtByPlayerTimestamp

        private int lastHurtByPlayerTimestamp
    • Constructor Detail

      • ResetAngerGoal

        public ResetAngerGoal​(T p_i241234_1_,
                              boolean p_i241234_2_)
    • Method Detail

      • canUse

        public boolean canUse()
        Specified by:
        canUse in class Goal
      • wasHurtByPlayer

        private boolean wasHurtByPlayer()
      • start

        public void start()
        Overrides:
        start in class Goal
      • getNearbyMobsOfSameType

        private java.util.List<MobEntity> getNearbyMobsOfSameType()