Class GoToWalkTargetGoal

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

public class GoToWalkTargetGoal
extends Goal
  • Field Details

    • mob

      private final PathAwareEntity mob
    • x

      private double x
    • y

      private double y
    • z

      private double z
    • speed

      private final double speed
  • Constructor Details

    • GoToWalkTargetGoal

      public GoToWalkTargetGoal​(PathAwareEntity mob, double speed)
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
    • shouldContinue

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

      public void start()
      Overrides:
      start in class Goal