Class DrownedEntity.GoToWaterGoal

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

static class DrownedEntity.GoToWaterGoal extends Goal
  • Field Details

    • mob

      private final CreatureEntity mob
    • wantedX

      private double wantedX
    • wantedY

      private double wantedY
    • wantedZ

      private double wantedZ
    • speedModifier

      private final double speedModifier
    • level

      private final World level
  • Constructor Details

    • GoToWaterGoal

      public GoToWaterGoal(CreatureEntity p_i48910_1_, double p_i48910_2_)
  • 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 Vector3d getWaterPos()