Package net.minecraft.server.network
Class ServerLoginNetworkHandler
java.lang.Object
net.minecraft.server.network.ServerLoginNetworkHandler
- All Implemented Interfaces:
PacketListener,ServerLoginPacketListener,Tickable
public class ServerLoginNetworkHandler
extends Object
implements ServerLoginPacketListener, Tickable
- Mappings:
Namespace Name official ueintermediary net/minecraft/class_2112named net/minecraft/server/network/ServerLoginNetworkHandler
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AtomicIntegerprivate ServerPlayerEntityfinal ClientConnectionprivate final Stringprivate static final Loggerprivate intprivate final byte[]private com.mojang.authlib.GameProfileprivate static final Randomprivate SecretKeyprivate final MinecraftServerprivate ServerLoginNetworkHandler.State -
Constructor Summary
ConstructorsConstructorDescriptionServerLoginNetworkHandler(MinecraftServer minecraftServer, ClientConnection clientConnection) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidmethod_14978(Text text) voidmethod_20392(class_4396 class_4396) protected com.mojang.authlib.GameProfilemethod_21322(com.mojang.authlib.GameProfile gameProfile) voidonDisconnected(Text reason) voidonHello(LoginHelloC2SPacket packet) voidonKey(LoginKeyC2SPacket packet) voidtick()
-
Field Details
-
authenticatorThreadId
- Mappings:
Namespace Name Mixin selector official bLue;b:Ljava/util/concurrent/atomic/AtomicInteger;intermediary field_8952Lnet/minecraft/class_2112;field_8952:Ljava/util/concurrent/atomic/AtomicInteger;named authenticatorThreadIdLnet/minecraft/server/network/ServerLoginNetworkHandler;authenticatorThreadId:Ljava/util/concurrent/atomic/AtomicInteger;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official cLue;c:Lorg/apache/logging/log4j/Logger;intermediary field_8953Lnet/minecraft/class_2112;field_8953:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/network/ServerLoginNetworkHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
-
RANDOM
- Mappings:
Namespace Name Mixin selector official dLue;d:Ljava/util/Random;intermediary field_8954Lnet/minecraft/class_2112;field_8954:Ljava/util/Random;named RANDOMLnet/minecraft/server/network/ServerLoginNetworkHandler;RANDOM:Ljava/util/Random;
-
nonce
private final byte[] nonce- Mappings:
Namespace Name Mixin selector official eLue;e:[Bintermediary field_8955Lnet/minecraft/class_2112;field_8955:[Bnamed nonceLnet/minecraft/server/network/ServerLoginNetworkHandler;nonce:[B
-
server
- Mappings:
Namespace Name Mixin selector official fLue;f:Lnet/minecraft/server/MinecraftServer;intermediary field_8956Lnet/minecraft/class_2112;field_8956:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/network/ServerLoginNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
-
connection
- Mappings:
Namespace Name Mixin selector official aLue;a:Lhw;intermediary field_8951Lnet/minecraft/class_2112;field_8951:Lnet/minecraft/class_1957;named connectionLnet/minecraft/server/network/ServerLoginNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
-
state
- Mappings:
Namespace Name Mixin selector official gLue;g:Lue$a;intermediary field_8957Lnet/minecraft/class_2112;field_8957:Lnet/minecraft/class_2112$class_2114;named stateLnet/minecraft/server/network/ServerLoginNetworkHandler;state:Lnet/minecraft/server/network/ServerLoginNetworkHandler$State;
-
loginTicks
private int loginTicks- Mappings:
Namespace Name Mixin selector official hLue;h:Iintermediary field_8958Lnet/minecraft/class_2112;field_8958:Inamed loginTicksLnet/minecraft/server/network/ServerLoginNetworkHandler;loginTicks:I
-
profile
private com.mojang.authlib.GameProfile profile- Mappings:
Namespace Name Mixin selector official iLue;i:Lcom/mojang/authlib/GameProfile;intermediary field_8959Lnet/minecraft/class_2112;field_8959:Lcom/mojang/authlib/GameProfile;named profileLnet/minecraft/server/network/ServerLoginNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
-
field_8960
- See Also:
- Mappings:
Namespace Name Mixin selector official jLue;j:Ljava/lang/String;intermediary field_8960Lnet/minecraft/class_2112;field_8960:Ljava/lang/String;named field_8960Lnet/minecraft/server/network/ServerLoginNetworkHandler;field_8960:Ljava/lang/String;
-
secretKey
- Mappings:
Namespace Name Mixin selector official kLue;k:Ljavax/crypto/SecretKey;intermediary field_8961Lnet/minecraft/class_2112;field_8961:Ljavax/crypto/SecretKey;named secretKeyLnet/minecraft/server/network/ServerLoginNetworkHandler;secretKey:Ljavax/crypto/SecretKey;
-
clientEntity
- Mappings:
Namespace Name Mixin selector official lLue;l:Ltf;intermediary field_11781Lnet/minecraft/class_2112;field_11781:Lnet/minecraft/class_798;named clientEntityLnet/minecraft/server/network/ServerLoginNetworkHandler;clientEntity:Lnet/minecraft/entity/player/ServerPlayerEntity;
-
-
Constructor Details
-
ServerLoginNetworkHandler
public ServerLoginNetworkHandler(MinecraftServer minecraftServer, ClientConnection clientConnection)
-
-
Method Details
-
tick
public void tick() -
method_14978
- Mappings:
Namespace Name Mixin selector official bLue;b(Lij;)Vintermediary method_14978Lnet/minecraft/class_2112;method_14978(Lnet/minecraft/class_1982;)Vnamed method_14978Lnet/minecraft/server/network/ServerLoginNetworkHandler;method_14978(Lnet/minecraft/text/Text;)V
-
acceptPlayer
public void acceptPlayer()- Mappings:
Namespace Name Mixin selector official bLue;b()Vintermediary method_8177Lnet/minecraft/class_2112;method_8177()Vnamed acceptPlayerLnet/minecraft/server/network/ServerLoginNetworkHandler;acceptPlayer()V
-
onDisconnected
- Specified by:
onDisconnectedin interfacePacketListener- Mappings:
Namespace Name Mixin selector official aLib;a(Lij;)Vintermediary method_7456Lnet/minecraft/class_701;method_7456(Lnet/minecraft/class_1982;)Vnamed onDisconnectedLnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
-
getConnectionInfo
- Mappings:
Namespace Name Mixin selector official cLue;c()Ljava/lang/String;intermediary method_8179Lnet/minecraft/class_2112;method_8179()Ljava/lang/String;named getConnectionInfoLnet/minecraft/server/network/ServerLoginNetworkHandler;getConnectionInfo()Ljava/lang/String;
-
onHello
- Specified by:
onHelloin interfaceServerLoginPacketListener- Mappings:
Namespace Name Mixin selector official aLod;a(Lof;)Vintermediary method_8056Lnet/minecraft/class_2076;method_8056(Lnet/minecraft/class_2077;)Vnamed onHelloLnet/minecraft/network/listener/ServerLoginPacketListener;onHello(Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;)V
-
onKey
- Specified by:
onKeyin interfaceServerLoginPacketListener- Mappings:
Namespace Name Mixin selector official aLod;a(Log;)Vintermediary method_8057Lnet/minecraft/class_2076;method_8057(Lnet/minecraft/class_721;)Vnamed onKeyLnet/minecraft/network/listener/ServerLoginPacketListener;onKey(Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;)V
-
method_20392
- Specified by:
method_20392in interfaceServerLoginPacketListener- Mappings:
Namespace Name Mixin selector official aLod;a(Loe;)Vintermediary method_20392Lnet/minecraft/class_2076;method_20392(Lnet/minecraft/class_4396;)Vnamed method_20392Lnet/minecraft/network/listener/ServerLoginPacketListener;method_20392(Lnet/minecraft/class_4396;)V
-
method_21322
protected com.mojang.authlib.GameProfile method_21322(com.mojang.authlib.GameProfile gameProfile) - Mappings:
Namespace Name Mixin selector official aLue;a(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;intermediary method_21322Lnet/minecraft/class_2112;method_21322(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;named method_21322Lnet/minecraft/server/network/ServerLoginNetworkHandler;method_21322(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
-