scheduleTask

fun scheduleTask(callback: Runnable, ticks: Int): Int

Run callback once after ticks client ticks (20 ticks ≈ 1s). Returns an id for clearTimer.