Class Turtle.TurtleTravelGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Turtle.TurtleTravelGoal
Enclosing class:
Turtle

static class Turtle.TurtleTravelGoal extends Goal
  • Field Details

    • turtle

      private final Turtle turtle
    • speedModifier

      private final double speedModifier
    • stuck

      private boolean stuck
  • Constructor Details

    • TurtleTravelGoal

      TurtleTravelGoal(Turtle p_30333_, double p_30334_)
  • Method Details

    • canUse

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

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

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

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

      public void stop()
      Overrides:
      stop in class Goal