Package net.minecraft.server.network
Class IntegratedServerHandshakeNetworkHandler
java.lang.Object
net.minecraft.server.network.IntegratedServerHandshakeNetworkHandler
- All Implemented Interfaces:
PacketListener
,ServerHandshakePacketListener
@Environment(CLIENT) public class IntegratedServerHandshakeNetworkHandler extends Object implements ServerHandshakePacketListener
- Mappings:
Namespace Name official abl
intermediary net/minecraft/class_3240
named net/minecraft/server/network/IntegratedServerHandshakeNetworkHandler
-
Field Summary
Fields Modifier and Type Field Description private ClientConnection
connection
private MinecraftServer
server
-
Constructor Summary
Constructors Constructor Description IntegratedServerHandshakeNetworkHandler(MinecraftServer server, ClientConnection connection)
-
Method Summary
Modifier and Type Method Description ClientConnection
getConnection()
void
onDisconnected(Text reason)
void
onHandshake(HandshakeC2SPacket packet)
-
Field Details
-
server
- Mappings:
Namespace Name Mixin selector official a
Labl;a:Lnet/minecraft/server/MinecraftServer;
intermediary field_14104
Lnet/minecraft/class_3240;field_14104:Lnet/minecraft/server/MinecraftServer;
named server
Lnet/minecraft/server/network/IntegratedServerHandshakeNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
connection
- Mappings:
Namespace Name Mixin selector official b
Labl;b:Lnu;
intermediary field_14103
Lnet/minecraft/class_3240;field_14103:Lnet/minecraft/class_2535;
named connection
Lnet/minecraft/server/network/IntegratedServerHandshakeNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
-
Constructor Details
-
IntegratedServerHandshakeNetworkHandler
public IntegratedServerHandshakeNetworkHandler(MinecraftServer server, ClientConnection connection)- Mappings:
Namespace Name Mixin selector official <init>
Labl;<init>(Lnet/minecraft/server/MinecraftServer;Lnu;)V
intermediary <init>
Lnet/minecraft/class_3240;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
named <init>
Lnet/minecraft/server/network/IntegratedServerHandshakeNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;)V
-
-
Method Details
-
onHandshake
- Specified by:
onHandshake
in interfaceServerHandshakePacketListener
- Mappings:
Namespace Name Mixin selector official a
Luo;a(Lun;)V
intermediary method_12576
Lnet/minecraft/class_2890;method_12576(Lnet/minecraft/class_2889;)V
named onHandshake
Lnet/minecraft/network/listener/ServerHandshakePacketListener;onHandshake(Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;)V
-
onDisconnected
- Specified by:
onDisconnected
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector official a
Lnz;a(Loi;)V
intermediary method_10839
Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)V
named onDisconnected
Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
getConnection
- Specified by:
getConnection
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector official a
Lnz;a()Lnu;
intermediary method_2872
Lnet/minecraft/class_2547;method_2872()Lnet/minecraft/class_2535;
named getConnection
Lnet/minecraft/network/listener/PacketListener;getConnection()Lnet/minecraft/network/ClientConnection;
-