Uses of Class
net.minecraft.network.ClientConnection
Package
Description
-
Uses of ClientConnection in net.minecraft.client
Modifier and TypeFieldDescriptionprivate @Nullable ClientConnection
MinecraftClient.integratedServerConnection
The client connection to the integrated server. -
Uses of ClientConnection in net.minecraft.client.gui.screen
Modifier and TypeFieldDescription(package private) @Nullable ClientConnection
ConnectScreen.connection
The client connection to the remote server. -
Uses of ClientConnection in net.minecraft.client.network
Modifier and TypeFieldDescriptionprivate final ClientConnection
ClientLoginNetworkHandler.connection
private final ClientConnection
ClientPlayNetworkHandler.connection
Modifier and TypeFieldDescriptionprivate final List<ClientConnection>
MultiplayerServerListPinger.clientConnections
Modifier and TypeMethodDescriptionClientLoginNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ClientPlayNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ModifierConstructorDescriptionClientLoginNetworkHandler
(ClientConnection connection, MinecraftClient client, @Nullable ServerInfo serverInfo, @Nullable Screen parentScreen, boolean newWorld, @Nullable Duration worldLoadTime, Consumer<Text> statusConsumer) ClientPlayNetworkHandler
(MinecraftClient client, Screen screen, ClientConnection connection, @Nullable ServerInfo serverInfo, com.mojang.authlib.GameProfile profile, WorldSession worldSession) -
Uses of ClientConnection in net.minecraft.client.realms
Modifier and TypeFieldDescription(package private) @Nullable ClientConnection
RealmsConnection.connection
-
Uses of ClientConnection in net.minecraft.network
Modifier and TypeClassDescriptionclass
A connection that disconnects from the backing netty channel if too many packets are received.Modifier and TypeMethodDescriptionstatic ClientConnection
ClientConnection.connect
(InetSocketAddress address, boolean useEpoll) static ClientConnection
ClientConnection.connectLocal
(SocketAddress address) -
Uses of ClientConnection in net.minecraft.network.listener
Modifier and TypeMethodDescriptionPacketListener.getConnection()
Returns the connection this packet listener intends to listen to. -
Uses of ClientConnection in net.minecraft.server
Modifier and TypeFieldDescription(package private) final List<ClientConnection>
ServerNetworkIo.connections
Modifier and TypeMethodDescriptionvoid
PlayerManager.onPlayerConnect
(ClientConnection connection, ServerPlayerEntity player) -
Uses of ClientConnection in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate final ClientConnection
LocalServerHandshakeNetworkHandler.connection
private final ClientConnection
ServerHandshakeNetworkHandler.connection
final ClientConnection
ServerLoginNetworkHandler.connection
final ClientConnection
ServerPlayNetworkHandler.connection
private final ClientConnection
ServerQueryNetworkHandler.connection
Modifier and TypeMethodDescriptionLocalServerHandshakeNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ServerHandshakeNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ServerLoginNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ServerPlayNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ServerQueryNetworkHandler.getConnection()
Returns the connection this packet listener intends to listen to.ModifierConstructorDescriptionLocalServerHandshakeNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerHandshakeNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerLoginNetworkHandler
(MinecraftServer server, ClientConnection connection) ServerPlayNetworkHandler
(MinecraftServer server, ClientConnection connection, ServerPlayerEntity player) ServerQueryNetworkHandler
(MinecraftServer server, ClientConnection connection)