Class DolphinEntity.SwimWithPlayerGoal

  • Enclosing class:
    DolphinEntity

    static class DolphinEntity.SwimWithPlayerGoal
    extends Goal
    • Field Detail

      • speedModifier

        private final double speedModifier
    • Constructor Detail

      • SwimWithPlayerGoal

        SwimWithPlayerGoal​(DolphinEntity p_i48994_1_,
                           double p_i48994_2_)
    • Method Detail

      • canUse

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

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

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

        public void tick()
        Overrides:
        tick in class Goal