Class Drowned.DrownedGoToWaterGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.Drowned.DrownedGoToWaterGoal
Enclosing class:
Drowned

static class Drowned.DrownedGoToWaterGoal extends Goal
  • Field Details

    • mob

      private final PathfinderMob mob
    • wantedX

      private double wantedX
    • wantedY

      private double wantedY
    • wantedZ

      private double wantedZ
    • speedModifier

      private final double speedModifier
    • level

      private final Level level
  • Constructor Details

    • DrownedGoToWaterGoal

      public DrownedGoToWaterGoal(PathfinderMob p_32425_, double p_32426_)
  • Method Details

    • 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
    • getWaterPos

      @Nullable private Vec3 getWaterPos()