Class MoveTowardsTargetGoal


  • public class MoveTowardsTargetGoal
    extends Goal
    • Field Detail

      • wantedX

        private double wantedX
      • wantedY

        private double wantedY
      • wantedZ

        private double wantedZ
      • speedModifier

        private final double speedModifier
      • within

        private final float within
    • Constructor Detail

      • MoveTowardsTargetGoal

        public MoveTowardsTargetGoal​(CreatureEntity p_i1640_1_,
                                     double p_i1640_2_,
                                     float p_i1640_4_)
    • Method Detail

      • canUse

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

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

        public void start()
        Overrides:
        start in class Goal