Class Dolphin.PlayWithItemsGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.animal.Dolphin.PlayWithItemsGoal
Enclosing class:
Dolphin

class Dolphin.PlayWithItemsGoal extends Goal
  • Field Details

    • cooldown

      private int cooldown
  • Constructor Details

    • PlayWithItemsGoal

      PlayWithItemsGoal()
  • 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
    • tick

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

      private void drop(ItemStack p_28429_)