kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.world/onClient

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.