ServerNetworking

Server-side networking handler for Katton. Handles sending item sync packets to connecting clients.

Functions

Link copied to clipboard

Initializes server networking. Payload type registration is handled by the common initialization.

Link copied to clipboard
fun sendBlockSyncPacket(handler: ServerConfigurationPacketListenerImpl)

Sends block sync packet to a connecting player.

Link copied to clipboard
fun sendEffectSyncPacket(handler: ServerConfigurationPacketListenerImpl)

Sends effect sync packet to a connecting player.

Link copied to clipboard
fun sendItemSyncPacket(handler: ServerConfigurationPacketListenerImpl)

Sends item sync packet to a connecting player. Called from mixin before Fabric's registry sync check.