kettle

Kotlin utilities for Quilt mod development


Project maintained by Cypher121 Hosted on GitHub Pages — Theme by mattgraham

//kettle/coffee.cypher.kettle.scheduler/ExecutionConfiguration/Companion/repeat

repeat

[jvm]
fun repeat(initialDelay: Int = 0, pause: Int = 1, times: Int = 1, yieldsAfterMs: Double = 50.0): ExecutionConfiguration

Creates an ExecutionConfiguration for a task that will execute specified number of times times after initialDelay ticks, pauses for pause ticks after each execution and yields after executing for at least yieldsAfterMs milliseconds.