Class SchedulerUtils

java.lang.Object
me.emafire003.dev.ohmymeteors.util.scheduler.SchedulerUtils

public class SchedulerUtils extends Object
  • Constructor Details

    • SchedulerUtils

      public SchedulerUtils()
  • Method Details

    • registerOnServerTick

      public static void registerOnServerTick()
    • runLater

      public static void runLater(int delayTicks, ServerRunnable action)
    • runEveryTick

      public static void runEveryTick(ServerTickRunnable action)
      Runs an action every tick and provides the tick count with an optional start delay. If the action lambda returns a falls the task is stopepd