Package net.minecraft.server.network
Class ServerHandshakeNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerHandshakeNetworkHandler
- All Implemented Interfaces:
PacketListener
,ServerCrashSafePacketListener
,ServerHandshakePacketListener
,ServerPacketListener
- Mappings:
Namespace Name named net/minecraft/server/network/ServerHandshakeNetworkHandler
intermediary net/minecraft/class_3246
official atl
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ClientConnection
private static final Text
private final MinecraftServer
Fields inherited from interface net.minecraft.network.listener.ServerCrashSafePacketListener
LOGGER
-
Constructor Summary
ConstructorDescriptionServerHandshakeNetworkHandler
(MinecraftServer server, ClientConnection connection) -
Method Summary
Modifier and TypeMethodDescriptionboolean
private void
login
(HandshakeC2SPacket packet, boolean transfer) void
Called when the connection this listener listens to has disconnected.void
onHandshake
(HandshakeC2SPacket packet) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, addCustomCrashReportInfo, createDisconnectionInfo, fillCrashReport
Methods inherited from interface net.minecraft.network.listener.ServerCrashSafePacketListener
onPacketException
Methods inherited from interface net.minecraft.network.listener.ServerHandshakePacketListener
getPhase
Methods inherited from interface net.minecraft.network.listener.ServerPacketListener
getSide
-
Field Details
-
IGNORING_STATUS_REQUEST_MESSAGE
- Mappings:
Namespace Name Mixin selector named IGNORING_STATUS_REQUEST_MESSAGE
Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;IGNORING_STATUS_REQUEST_MESSAGE:Lnet/minecraft/text/Text;
intermediary field_24457
Lnet/minecraft/class_3246;field_24457:Lnet/minecraft/class_2561;
official b
Latl;b:Lxv;
-
server
- Mappings:
Namespace Name Mixin selector named server
Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
intermediary field_14154
Lnet/minecraft/class_3246;field_14154:Lnet/minecraft/server/MinecraftServer;
official c
Latl;c:Lnet/minecraft/server/MinecraftServer;
-
connection
- Mappings:
Namespace Name Mixin selector named connection
Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
intermediary field_14153
Lnet/minecraft/class_3246;field_14153:Lnet/minecraft/class_2535;
official d
Latl;d:Lwp;
-
-
Constructor Details
-
ServerHandshakeNetworkHandler
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;)V
intermediary <init>
Lnet/minecraft/class_3246;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
official <init>
Latl;<init>(Lnet/minecraft/server/MinecraftServer;Lwp;)V
-
-
Method Details
-
onHandshake
- Specified by:
onHandshake
in interfaceServerHandshakePacketListener
- Mappings:
Namespace Name Mixin selector named onHandshake
Lnet/minecraft/network/listener/ServerHandshakePacketListener;onHandshake(Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;)V
intermediary method_12576
Lnet/minecraft/class_2890;method_12576(Lnet/minecraft/class_2889;)V
official a
Lajs;a(Lajp;)V
-
login
- Mappings:
Namespace Name Mixin selector named login
Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;login(Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;Z)V
intermediary method_56048
Lnet/minecraft/class_3246;method_56048(Lnet/minecraft/class_2889;Z)V
official a
Latl;a(Lajp;Z)V
-
onDisconnected
Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.- Specified by:
onDisconnected
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector named onDisconnected
Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/network/DisconnectionInfo;)V
intermediary method_10839
Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_9812;)V
official a
Lxb;a(Lwr;)V
-
isConnectionOpen
public boolean isConnectionOpen()- Specified by:
isConnectionOpen
in interfacePacketListener
- Mappings:
Namespace Name Mixin selector named isConnectionOpen
Lnet/minecraft/network/listener/PacketListener;isConnectionOpen()Z
intermediary method_48106
Lnet/minecraft/class_2547;method_48106()Z
official c
Lxb;c()Z
-