Class MoveTowardsRestrictionGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveTowardsRestrictionGoal

public class MoveTowardsRestrictionGoal extends Goal
  • Field Details

    • mob

      private final CreatureEntity mob
    • wantedX

      private double wantedX
    • wantedY

      private double wantedY
    • wantedZ

      private double wantedZ
    • speedModifier

      private final double speedModifier
  • Constructor Details

    • MoveTowardsRestrictionGoal

      public MoveTowardsRestrictionGoal(CreatureEntity p_i2347_1_, double p_i2347_2_)
  • Method Details

    • canUse

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

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal