Package org.quiltmc.qkl.wrapper.qsl.client.lifecycle

Types

Link copied to clipboard
typealias GenericClientCallback = MinecraftClient.() -> Unit
Link copied to clipboard
typealias WorldTickCallback = MinecraftClient.(World) -> Unit

Functions

Link copied to clipboard
fun EventRegistration.onClientReady(callback: GenericClientCallback)
Link copied to clipboard
fun EventRegistration.onClientStopped(callback: GenericClientCallback)
Link copied to clipboard
fun EventRegistration.onClientStopping(callback: GenericClientCallback)
Link copied to clipboard
fun EventRegistration.onClientTickFinish(callback: GenericClientCallback)

This tends to be a code hotspot, so any code should be sure to run quickly.

Link copied to clipboard
fun EventRegistration.onClientTickStart(callback: GenericClientCallback)

This tends to be a code hotspot, so any code should be sure to run quickly.

Link copied to clipboard
fun EventRegistration.onWorldTickFinish(callback: WorldTickCallback)

This tends to be a code hotspot, so any code should be sure to run quickly.

Link copied to clipboard
fun EventRegistration.onWorldTickStart(callback: WorldTickCallback)

This tends to be a code hotspot, so any code should be sure to run quickly.