ClientNetworkingImpl

public final class ClientNetworkingImpl

Functions

clientInit
Link copied to clipboard
static void clientInit()
createPlayC2SPacket
Link copied to clipboard
static Packet<? extends ObjectcreatePlayC2SPacket(Identifier channelName, PacketByteBuf buf)
getAddon
Link copied to clipboard
static ClientLoginNetworkAddon getAddon(ClientLoginNetworkHandler handler)
static ClientPlayNetworkAddon getAddon(ClientPlayNetworkHandler handler)
getClientPlayAddon
Link copied to clipboard
@Nullable()
static ClientPlayNetworkAddon getClientPlayAddon()
getLoginConnection
Link copied to clipboard
@Nullable()
static ClientConnection getLoginConnection()
Due to the way logging into a integrated or remote dedicated server will differ, we need to obtain the login client connection differently.
setClientPlayAddon
Link copied to clipboard
static void setClientPlayAddon(ClientPlayNetworkAddon addon)

Properties

LOGIN
Link copied to clipboard
public final static GlobalReceiverRegistry<ClientLoginNetworking.LoginQueryRequestHandlerLOGIN
PLAY
Link copied to clipboard
public final static GlobalReceiverRegistry<ClientPlayNetworking.PlayChannelHandlerPLAY

Sources

jvm source
Link copied to clipboard