Class RangedAttackGoal

    • Field Detail

      • attackTime

        private int attackTime
      • speedModifier

        private final double speedModifier
      • seeTime

        private int seeTime
      • attackIntervalMin

        private final int attackIntervalMin
      • attackIntervalMax

        private final int attackIntervalMax
      • attackRadius

        private final float attackRadius
      • attackRadiusSqr

        private final float attackRadiusSqr
    • Constructor Detail

      • RangedAttackGoal

        public RangedAttackGoal​(IRangedAttackMob p_i1649_1_,
                                double p_i1649_2_,
                                int p_i1649_4_,
                                float p_i1649_5_)
      • RangedAttackGoal

        public RangedAttackGoal​(IRangedAttackMob p_i1650_1_,
                                double p_i1650_2_,
                                int p_i1650_4_,
                                int p_i1650_5_,
                                float p_i1650_6_)
    • Method Detail

      • canUse

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

        public void stop()
        Overrides:
        stop in class Goal
      • tick

        public void tick()
        Overrides:
        tick in class Goal