Package net.fabricmc.fabric.api.client.networking.v1

The Networking API (client side), version 1.

For login stage networking see ClientLoginNetworking. For play stage networking see ClientPlayNetworking.

For events related to connection to a server see ClientLoginConnectionEvents for login stage or ClientPlayConnectionEvents for play stage.

For events related to the ability of a server to receive packets on a channel of a specific name see C2SPlayChannelEvents.