Class DolphinEntity.PlayWithItemsGoal

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

class DolphinEntity.PlayWithItemsGoal extends Goal
  • Field Details

    • cooldown

      private int cooldown
  • Constructor Details

    • PlayWithItemsGoal

      private 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_220810_1_)