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

The Networking API (client side), version 1.

For login stage networking see net.fabricmc.fabric.api.client.networking.v1.ClientLoginNetworking. For play stage networking see net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking.

For events related to connection to a server see net.fabricmc.fabric.api.client.networking.v1.ClientLoginConnectionEvents for login stage or net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents for play stage.

For events related to the ability of a server to receive packets on a channel of a specific name see net.fabricmc.fabric.api.client.networking.v1.C2SPlayChannelEvents.

Types

C2SPlayChannelEvents
Link copied to clipboard
public final class C2SPlayChannelEvents
Offers access to events related to the indication of a connected server's ability to receive packets in certain channels.
ClientLoginConnectionEvents
Link copied to clipboard
public final class ClientLoginConnectionEvents
Offers access to events related to the connection to a server on the client while the server is processing the client's login request.
ClientLoginNetworking
Link copied to clipboard
public final class ClientLoginNetworking
Offers access to login stage client-side networking functionalities.
ClientPlayConnectionEvents
Link copied to clipboard
public final class ClientPlayConnectionEvents
Offers access to events related to the connection to a server on a logical client.
ClientPlayNetworking
Link copied to clipboard
public final class ClientPlayNetworking
Offers access to play stage client-side networking functionalities.