Class DolphinJumpGoal


public class DolphinJumpGoal extends JumpGoal
  • Field Details

    • STEPS_TO_CHECK

      private static final int[] STEPS_TO_CHECK
    • dolphin

      private final Dolphin dolphin
    • interval

      private final int interval
    • breached

      private boolean breached
  • Constructor Details

    • DolphinJumpGoal

      public DolphinJumpGoal(Dolphin p_25168_, int p_25169_)
  • Method Details

    • canUse

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

      private boolean waterIsClear(BlockPos p_25173_, int p_25174_, int p_25175_, int p_25176_)
    • surfaceIsClear

      private boolean surfaceIsClear(BlockPos p_25179_, int p_25180_, int p_25181_, int p_25182_)
    • canContinueToUse

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

      public boolean isInterruptable()
      Overrides:
      isInterruptable 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