kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.tickers.task/TaskTicker

TaskTicker

[jvm]
class TaskTicker<T : BlockEntity>(config: TaskTickerScheduler<T>.() -> Unit) : BlockEntityTicker<T>

A type of TickingScheduler suitable for use as a BlockEntityTicker for entities of type T.

Constructors

   
TaskTicker [jvm]
constructor(config: TaskTickerScheduler<T>.() -> Unit)

Functions

Name Summary
cast [jvm]
fun <T : BlockEntity, E : BlockEntity> BlockEntityTicker<T>.cast(): BlockEntityTicker<E>
Casts a BlockEntityTicker to the specified BlockEntity type E.
tick [jvm]
open override fun tick(world: World, pos: BlockPos, state: BlockState, blockEntity: T)