Class DrownedEntity.SwimUpGoal

    • Field Detail

      • speedModifier

        private final double speedModifier
      • seaLevel

        private final int seaLevel
      • stuck

        private boolean stuck
    • Constructor Detail

      • SwimUpGoal

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

      • canUse

        public boolean canUse()
        Specified by:
        canUse 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