kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.scheduler/ConfigurationBuilder

ConfigurationBuilder

sealed class ConfigurationBuilder

A builder object representing the Task’s ExecutionConfiguration.

Inheritors

 
Once
Multiple
Infinite

Types

Name Summary
Infinite [jvm]
class Infinite : ConfigurationBuilder
A builder object for an ExecutionConfiguration that will execute infinitely until stopped.
Multiple [jvm]
class Multiple : ConfigurationBuilder
A builder object for an ExecutionConfiguration that will execute multiple times.
Once [jvm]
class Once : ConfigurationBuilder
A builder object for an ExecutionConfiguration that will execute once.

Properties

Name Summary
initialDelay [jvm]
var initialDelay: Int
delay in ticks before the task first executes
yieldsAfterMs [jvm]
var yieldsAfterMs: Double
number of milliseconds in one execution until TaskContext.yield suspends the task.