kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.scheduler/TickingScheduler/tick

tick

[jvm]
fun tick(newContext: () -> T, updateContext: (T) -> Unit = {})

Executes all tasks registered on this scheduler until they finish or suspend.

Tasks executing for the first time will be provided a context created by newContext.

Tasks that already have a context will instead have it updated using updateContext, if provided.