taskLater

@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.

Return

the scheduled task, or null if scheduling failed

Since

2.0.0

Parameters

location

the location to synchronize with

delay

the delay in ticks

runnable

the task to run