Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.world/onClient
[jvm]
inline fun BlockEntity.onClient(toRun: () -> Unit)
Runs the given toRun block if this BlockEntity is contained on the logical client.
[jvm]
inline fun WorldView.onClient(toRun: () -> Unit)
Runs the given toRun block if this WorldView represents a world on the logical client.