kettle

Kotlin utilities for Quilt mod development


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

//kettle/coffee.cypher.kettle.world/onServer

onServer

[jvm]
inline fun BlockEntity.onServer(toRun: () -> Unit)

Runs the given toRun block if this BlockEntity is contained on the logical server.

[jvm]
inline fun WorldView.onServer(toRun: () -> Unit)

Runs the given toRun block if this WorldView represents a world on the logical server.