Class RangedBowAttackGoal<T extends MonsterEntity & IRangedAttackMob>

    • Field Detail

      • speedModifier

        private final double speedModifier
      • attackIntervalMin

        private int attackIntervalMin
      • attackRadiusSqr

        private final float attackRadiusSqr
      • attackTime

        private int attackTime
      • seeTime

        private int seeTime
      • strafingClockwise

        private boolean strafingClockwise
      • strafingBackwards

        private boolean strafingBackwards
      • strafingTime

        private int strafingTime
    • Constructor Detail

      • RangedBowAttackGoal

        public RangedBowAttackGoal​(T p_i47515_1_,
                                   double p_i47515_2_,
                                   int p_i47515_4_,
                                   float p_i47515_5_)
    • Method Detail

      • setMinAttackInterval

        public void setMinAttackInterval​(int p_189428_1_)
      • canUse

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

        protected boolean isHoldingBow()
      • start

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

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

        public void tick()
        Overrides:
        tick in class Goal