Class PatrollerEntity.PatrolGoal<T extends PatrollerEntity>

    • Field Detail

      • speedModifier

        private final double speedModifier
      • leaderSpeedModifier

        private final double leaderSpeedModifier
      • cooldownUntil

        private long cooldownUntil
    • Constructor Detail

      • PatrolGoal

        public PatrolGoal​(T p_i50070_1_,
                          double p_i50070_2_,
                          double p_i50070_4_)
    • 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
      • findPatrolCompanions

        private java.util.List<PatrollerEntity> findPatrolCompanions()
      • moveRandomly

        private boolean moveRandomly()