Class DrownedEntity.SwimUpGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.monster.DrownedEntity.SwimUpGoal
Enclosing class:
DrownedEntity

static class DrownedEntity.SwimUpGoal extends Goal
  • Field Details

    • drowned

      private final DrownedEntity drowned
    • speedModifier

      private final double speedModifier
    • seaLevel

      private final int seaLevel
    • stuck

      private boolean stuck
  • Constructor Details

    • SwimUpGoal

      public SwimUpGoal(DrownedEntity p_i48908_1_, double p_i48908_2_, int p_i48908_4_)
  • Method Details

    • canUse

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

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

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

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

      public void stop()
      Overrides:
      stop in class Goal