Uses of Class
net.minecraft.network.ClientConnection
-
Uses of ClientConnection in net.minecraft.client
Fields in net.minecraft.client declared as ClientConnection Modifier and Type Field Description private @Nullable ClientConnectionMinecraftClient. integratedServerConnectionThe client connection to the integrated server. -
Uses of ClientConnection in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as ClientConnection Modifier and Type Field Description private ClientConnectionConnectScreen. connectionThe client connection to the remote server. -
Uses of ClientConnection in net.minecraft.client.network
Fields in net.minecraft.client.network declared as ClientConnection Modifier and Type Field Description private ClientConnectionClientLoginNetworkHandler. connectionprivate ClientConnectionClientPlayNetworkHandler. connectionFields in net.minecraft.client.network with type parameters of type ClientConnection Modifier and Type Field Description private List<ClientConnection>MultiplayerServerListPinger. clientConnectionsMethods in net.minecraft.client.network that return ClientConnection Modifier and Type Method Description ClientConnectionClientLoginNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.ClientConnectionClientPlayNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.Constructors in net.minecraft.client.network with parameters of type ClientConnection Constructor Description ClientLoginNetworkHandler(ClientConnection connection, MinecraftClient client, @Nullable Screen parentGui, Consumer<Text> statusConsumer)ClientPlayNetworkHandler(MinecraftClient client, Screen screen, ClientConnection connection, com.mojang.authlib.GameProfile profile) -
Uses of ClientConnection in net.minecraft.client.realms
Fields in net.minecraft.client.realms declared as ClientConnection Modifier and Type Field Description private ClientConnectionRealmsConnection. connection -
Uses of ClientConnection in net.minecraft.network
Subclasses of ClientConnection in net.minecraft.network Modifier and Type Class Description classRateLimitedConnectionA connection that disconnects from the backing netty channel if too many packets are received.Methods in net.minecraft.network that return ClientConnection Modifier and Type Method Description static ClientConnectionClientConnection. connect(InetAddress address, int port, boolean shouldUseNativeTransport)static ClientConnectionClientConnection. connectLocal(SocketAddress address) -
Uses of ClientConnection in net.minecraft.network.listener
Methods in net.minecraft.network.listener that return ClientConnection Modifier and Type Method Description ClientConnectionPacketListener. getConnection()Returns the connection this packet listener intends to listen to. -
Uses of ClientConnection in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ClientConnection Modifier and Type Field Description private List<ClientConnection>ServerNetworkIo. connectionsMethods in net.minecraft.server with parameters of type ClientConnection Modifier and Type Method Description voidPlayerManager. onPlayerConnect(ClientConnection connection, ServerPlayerEntity player) -
Uses of ClientConnection in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ClientConnection Modifier and Type Field Description private ClientConnectionLocalServerHandshakeNetworkHandler. connectionprivate ClientConnectionServerHandshakeNetworkHandler. connectionClientConnectionServerLoginNetworkHandler. connectionClientConnectionServerPlayNetworkHandler. connectionprivate ClientConnectionServerQueryNetworkHandler. connectionMethods in net.minecraft.server.network that return ClientConnection Modifier and Type Method Description ClientConnectionLocalServerHandshakeNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.ClientConnectionServerHandshakeNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.ClientConnectionServerLoginNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.ClientConnectionServerPlayNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.ClientConnectionServerQueryNetworkHandler. getConnection()Returns the connection this packet listener intends to listen to.Constructors in net.minecraft.server.network with parameters of type ClientConnection Constructor Description LocalServerHandshakeNetworkHandler(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)