taskLater

@Nullable
abstract fun taskLater(delay: Long, @NotNull runnable: @NotNull Runnable): @Nullable ModelTask

Schedules a task to run after a delay.

Return

the scheduled task, or null if scheduling failed

Since

2.0.0

Parameters

delay

the delay in ticks

runnable

the task to run