Kotlin utilities for Quilt mod development
//kettle/coffee.cypher.kettle.world/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.