Class HurtByTargetGoal

    • Field Detail

      • HURT_BY_TARGETING

        private static final EntityPredicate HURT_BY_TARGETING
      • alertSameType

        private boolean alertSameType
      • timestamp

        private int timestamp
      • toIgnoreDamage

        private final java.lang.Class<?>[] toIgnoreDamage
      • toIgnoreAlert

        private java.lang.Class<?>[] toIgnoreAlert
    • Constructor Detail

      • HurtByTargetGoal

        public HurtByTargetGoal​(CreatureEntity p_i50317_1_,
                                java.lang.Class<?>... p_i50317_2_)
    • Method Detail

      • canUse

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

        public HurtByTargetGoal setAlertOthers​(java.lang.Class<?>... p_220794_1_)
      • alertOthers

        protected void alertOthers()