Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.scheduler/TaskBuilder
open class TaskBuilder<T : Any>
A builder object used with DSL extensions to create a Task.
AttachedTaskBuilder |
Name | Summary |
---|---|
name | [jvm] var name: String the name of the created task |
run | [jvm] val run: (configuration: ExecutionConfiguration) -> Unit Configuration setter for this builder. |
Name | Summary |
---|---|
action | [jvm] fun <T : Any> TaskBuilder<T>.action(block: TaskBlock<T>) Sets the function executed by the Task to the provided block. |