Class TurtleEntity.TravelGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.TurtleEntity.TravelGoal
Enclosing class:
TurtleEntity

static class TurtleEntity.TravelGoal
extends Goal
  • Field Details

    • turtle

      private final TurtleEntity turtle
    • speed

      private final double speed
    • noPath

      private boolean noPath
  • Constructor Details

    • TravelGoal

      TravelGoal​(TurtleEntity turtle, double speed)
  • Method Details

    • canStart

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

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

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

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

      public void stop()
      Overrides:
      stop in class Goal