Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.tickers.task/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.
| TaskTicker | [jvm] constructor(config: TaskTickerScheduler<T>.() -> Unit) |
| 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) |