Class TurtleEntity.GoHomeGoal

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

static class TurtleEntity.GoHomeGoal extends Goal
  • Field Details

    • turtle

      private final TurtleEntity turtle
    • speedModifier

      private final double speedModifier
    • stuck

      private boolean stuck
    • closeToHomeTryTicks

      private int closeToHomeTryTicks
  • Constructor Details

    • GoHomeGoal

      GoHomeGoal(TurtleEntity p_i48821_1_, double p_i48821_2_)
  • Method Details

    • canUse

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

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

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

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

      public void tick()
      Overrides:
      tick in class Goal