Uses of Class
com.plotsquared.core.util.task.TaskTime
Packages that use TaskTime
-
Uses of TaskTime in com.plotsquared.core.util.task
Methods in com.plotsquared.core.util.task that return TaskTimeModifier and TypeMethodDescriptionTaskTime.ms(@org.checkerframework.checker.index.qual.NonNegative long ms) Create a new task time in millisecondsTaskTime.seconds(@org.checkerframework.checker.index.qual.NonNegative long seconds) Create a new task time in secondsTaskTime.ticks(@org.checkerframework.checker.index.qual.NonNegative long ticks) Create a new task time in server ticksMethods in com.plotsquared.core.util.task with parameters of type TaskTimeModifier and TypeMethodDescriptionstatic voidTaskManager.runTaskLater(@Nullable Runnable runnable, @NonNull TaskTime taskTime) Run a synchronous task after a given delay.static voidTaskManager.runTaskLaterAsync(@Nullable Runnable runnable, @NonNull TaskTime taskTime) Run an asynchronous task after a given delay.static @NonNull PlotSquaredTaskTaskManager.runTaskRepeat(@Nullable Runnable runnable, @NonNull TaskTime taskTime) Run a repeating synchronous task.abstract voidRun a synchronous task after a given delay.abstract voidTaskManager.taskLaterAsync(@NonNull Runnable runnable, @NonNull TaskTime taskTime) Run an asynchronous task after a given delay.abstract PlotSquaredTaskTaskManager.taskRepeat(@NonNull Runnable runnable, @NonNull TaskTime taskTime) Run a repeating synchronous task.abstract PlotSquaredTaskTaskManager.taskRepeatAsync(@NonNull Runnable runnable, @NonNull TaskTime taskTime) Run a repeating asynchronous task.default @org.checkerframework.checker.index.qual.NonNegative longConvert the task time to millisecondsdefault @org.checkerframework.checker.index.qual.NonNegative longConvert the task time to server ticks