public class Scheduling
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Scheduling.ScheduledTask |
Constructor and Description |
---|
Scheduling() |
Modifier and Type | Method and Description |
---|---|
static void |
schedule(int ticks,
java.util.function.Consumer<Scheduling.ScheduledTask> task,
boolean repeats) |
static void |
schedule(int ticks,
java.lang.Runnable task,
boolean repeats) |
static void |
tick() |
public static void tick()
public static void schedule(int ticks, java.lang.Runnable task, boolean repeats)
public static void schedule(int ticks, java.util.function.Consumer<Scheduling.ScheduledTask> task, boolean repeats)