Strata
Functions
Link copied to clipboard
Returns negotiated capabilities, or null before readiness or after disconnect.
Link copied to clipboard
fun listen(server: MinecraftServer, ownerMod: ModContainer, listener: (StrataUiEvent) -> Unit): AutoCloseable
Subscribes to committed notifications on the server owner. Close the subscription on that owner; release and server shutdown also remove it. Listener failures are reported without rolling back a committed transition.
Link copied to clipboard
Creates state and a definition on the server owner, returning its presentation handle.
Link copied to clipboard
Registers a schema for future negotiations; existing connections must reconnect.