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

public class SchedulerUtils extends Object
  • Constructor Details

    • SchedulerUtils

      public SchedulerUtils()
  • Method Details

    • onServerTick

      public static void onServerTick(net.neoforged.neoforge.event.tick.ServerTickEvent.Post event)
    • 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