Package-level declarations

Types

Link copied to clipboard
data class BlockSyncPacket(val blocks: List<BlockSyncPacket.BlockData>) : CustomPacketPayload

Packet for synchronizing Katton blocks from server to client. Sent during configuration phase before Fabric's registry sync check.

Link copied to clipboard
data class EffectSyncPacket(val effects: List<EffectSyncPacket.EffectData>) : CustomPacketPayload

Packet for synchronizing Katton mob effects from server to client. Sent during configuration phase before Fabric's registry sync check.

Link copied to clipboard
data class ItemSyncPacket(val items: List<ItemSyncPacket.ItemData>) : CustomPacketPayload
Link copied to clipboard
object Networking

Common networking initialization. Registers payload types that are used by both client and server.

Link copied to clipboard

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