sleepTicks

fun sleepTicks(ticks: Int)(source)

Suspends the current task for at least ticks server ticks.

A zero duration yields until the next server tick. Other runnable tasks in this VM may continue.