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
    • speedModifier

      private final double speedModifier
    • stuck

      private boolean stuck
  • Constructor Details

    • TravelGoal

      TravelGoal(TurtleEntity p_i48811_1_, double p_i48811_2_)
  • 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