BukkitModelScheduler

Represents a Bukkit-specific scheduler for model tasks.

This interface extends ModelScheduler to provide methods for scheduling tasks that are synchronized with specific locations (e.g., for Folia compatibility).

Since

2.0.0

Functions

Link copied to clipboard
abstract fun asyncTask(p: @NotNull Runnable): @NotNull ModelTask
Link copied to clipboard
abstract fun asyncTaskLater(p: Long, p1: @NotNull Runnable): @NotNull ModelTask
Link copied to clipboard
abstract fun asyncTaskTimer(p: Long, p1: Long, p2: @NotNull Runnable): @NotNull ModelTask
Link copied to clipboard
@Nullable
abstract fun task(@NotNull location: @NotNull Location, @NotNull runnable: @NotNull Runnable): @Nullable ModelTask
Schedules a task to run on the next tick, synchronized with the given location.
Link copied to clipboard
@Nullable
abstract fun taskLater(@NotNull location: @NotNull Location, delay: Long, @NotNull runnable: @NotNull Runnable): @Nullable ModelTask
Schedules a task to run after a delay, synchronized with the given location.