Class MoveTowardsRestrictionGoal


  • public class MoveTowardsRestrictionGoal
    extends Goal
    • Field Detail

      • wantedX

        private double wantedX
      • wantedY

        private double wantedY
      • wantedZ

        private double wantedZ
      • speedModifier

        private final double speedModifier
    • Constructor Detail

      • MoveTowardsRestrictionGoal

        public MoveTowardsRestrictionGoal​(CreatureEntity p_i2347_1_,
                                          double p_i2347_2_)
    • Method Detail

      • canUse

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

        public void start()
        Overrides:
        start in class Goal