kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.scheduler/task

task

[jvm]
fun <T : Any> task(config: TaskBuilder<T>.() -> Unit): Task<T>

Creates a new task described by the provided config with the use of other DSL functions.

[jvm]
fun <T : Any> TickingScheduler<T>.task(config: AttachedTaskBuilder<T>.() -> Unit): Task<T>

Creates a new task on the receiver scheduler described by the provided config with the use of other DSL functions.