Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.tickers/cast
[jvm]
fun <T : BlockEntity, E : BlockEntity> BlockEntityTicker<T>.cast(): BlockEntityTicker<E>
Casts a BlockEntityTicker to the specified BlockEntity type E.
Mainly used when returning from BlockWithEntity.getTicker to return the correct generic type, when it’s expected to match this ticker’s.