HudScheduler

interface HudScheduler

Represents the adapted scheduler between Paper and Folia.

Functions

Link copied to clipboard
@NotNull
abstract fun asyncTask(@NotNull runnable: @NotNull Runnable): @NotNull HudTask
Executes async task.
Link copied to clipboard
@NotNull
abstract fun asyncTaskLater(delay: Long, @NotNull runnable: @NotNull Runnable): @NotNull HudTask
Executes async task.
Link copied to clipboard
@NotNull
abstract fun asyncTaskTimer(delay: Long, period: Long, @NotNull runnable: @NotNull Runnable): @NotNull HudTask
Executes async task.
Link copied to clipboard
@NotNull
abstract fun task(@NotNull runnable: @NotNull Runnable): @NotNull HudTask
@NotNull
abstract fun task(@NotNull location: @NotNull LocationWrapper, @NotNull runnable: @NotNull Runnable): @NotNull HudTask
Executes sync task.
Link copied to clipboard
@NotNull
abstract fun taskLater(delay: Long, @NotNull runnable: @NotNull Runnable): @NotNull HudTask
Executes sync task.