Class DrownedEntity.GoToWaterGoal

  • Enclosing class:
    DrownedEntity

    static class DrownedEntity.GoToWaterGoal
    extends Goal
    • Field Detail

      • wantedX

        private double wantedX
      • wantedY

        private double wantedY
      • wantedZ

        private double wantedZ
      • speedModifier

        private final double speedModifier
      • level

        private final World level
    • Constructor Detail

      • GoToWaterGoal

        public GoToWaterGoal​(CreatureEntity p_i48910_1_,
                             double p_i48910_2_)
    • Method Detail

      • canUse

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

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

        @Nullable
        private Vector3d getWaterPos()