delayTicks

suspend fun delayTicks(ticks: Ticks)

Suspends the coroutine for the given number of ticks.

Parameters

ticks

the number of ticks to wait


suspend fun delayTicks(plugin: Plugin, ticks: Ticks)

Suspends the coroutine for the given number of ticks.

This version allows specifying the plugin to use for scheduling.

Parameters

plugin

the plugin to use for scheduling the delay

ticks

the number of ticks to wait