Class DolphinEntity.SwimToTreasureGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.passive.DolphinEntity.SwimToTreasureGoal
Enclosing class:
DolphinEntity

static class DolphinEntity.SwimToTreasureGoal extends Goal
  • Field Details

    • dolphin

      private final DolphinEntity dolphin
    • stuck

      private boolean stuck
  • Constructor Details

    • SwimToTreasureGoal

      SwimToTreasureGoal(DolphinEntity p_i49344_1_)
  • Method Details

    • isInterruptable

      public boolean isInterruptable()
      Overrides:
      isInterruptable in class Goal
    • canUse

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

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

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

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

      public void tick()
      Overrides:
      tick in class Goal