1 2 3 4 5 6 7 8 9 10
package cc.polyfrost.oneconfig.utils.dsl import cc.polyfrost.oneconfig.utils.TickDelay /** * Schedules a Runnable to be called after a certain amount of ticks. * * @see TickDelay */ fun tick(ticks: Int, block: () -> Unit) = TickDelay(block, ticks)