Class ServerLoginNetworkHandler

java.lang.Object
net.minecraft.server.network.ServerLoginNetworkHandler
All Implemented Interfaces:
PacketListener, ServerLoginPacketListener

public class ServerLoginNetworkHandler
extends Object
implements ServerLoginPacketListener
Mappings:
Namespace Name
official abp
intermediary net/minecraft/class_3248
named net/minecraft/server/network/ServerLoginNetworkHandler
  • Field Details

    • authenticatorThreadId

      private static final AtomicInteger authenticatorThreadId
      Mappings:
      Namespace Name Mixin selector
      official b Labp;b:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_14157 Lnet/minecraft/class_3248;field_14157:Ljava/util/concurrent/atomic/AtomicInteger;
      named authenticatorThreadId Lnet/minecraft/server/network/ServerLoginNetworkHandler;authenticatorThreadId:Ljava/util/concurrent/atomic/AtomicInteger;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Labp;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_14166 Lnet/minecraft/class_3248;field_14166:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/server/network/ServerLoginNetworkHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official d Labp;d:Ljava/util/Random;
      intermediary field_14164 Lnet/minecraft/class_3248;field_14164:Ljava/util/Random;
      named RANDOM Lnet/minecraft/server/network/ServerLoginNetworkHandler;RANDOM:Ljava/util/Random;
    • nonce

      private final byte[] nonce
      Mappings:
      Namespace Name Mixin selector
      official e Labp;e:[B
      intermediary field_14167 Lnet/minecraft/class_3248;field_14167:[B
      named nonce Lnet/minecraft/server/network/ServerLoginNetworkHandler;nonce:[B
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official f Labp;f:Lnet/minecraft/server/MinecraftServer;
      intermediary field_14162 Lnet/minecraft/class_3248;field_14162:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/network/ServerLoginNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
    • connection

      public final ClientConnection connection
      Mappings:
      Namespace Name Mixin selector
      official a Labp;a:Lnu;
      intermediary field_14158 Lnet/minecraft/class_3248;field_14158:Lnet/minecraft/class_2535;
      named connection Lnet/minecraft/server/network/ServerLoginNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
    • state

      Mappings:
      Namespace Name Mixin selector
      official g Labp;g:Labp$a;
      intermediary field_14163 Lnet/minecraft/class_3248;field_14163:Lnet/minecraft/class_3248$class_3249;
      named state Lnet/minecraft/server/network/ServerLoginNetworkHandler;state:Lnet/minecraft/server/network/ServerLoginNetworkHandler$State;
    • loginTicks

      private int loginTicks
      Mappings:
      Namespace Name Mixin selector
      official h Labp;h:I
      intermediary field_14156 Lnet/minecraft/class_3248;field_14156:I
      named loginTicks Lnet/minecraft/server/network/ServerLoginNetworkHandler;loginTicks:I
    • profile

      private com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official i Labp;i:Lcom/mojang/authlib/GameProfile;
      intermediary field_14160 Lnet/minecraft/class_3248;field_14160:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/server/network/ServerLoginNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
    • serverId

      private final String serverId
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official j Labp;j:Ljava/lang/String;
      intermediary field_14165 Lnet/minecraft/class_3248;field_14165:Ljava/lang/String;
      named serverId Lnet/minecraft/server/network/ServerLoginNetworkHandler;serverId:Ljava/lang/String;
    • secretKey

      private SecretKey secretKey
      Mappings:
      Namespace Name Mixin selector
      official k Labp;k:Ljavax/crypto/SecretKey;
      intermediary field_14159 Lnet/minecraft/class_3248;field_14159:Ljavax/crypto/SecretKey;
      named secretKey Lnet/minecraft/server/network/ServerLoginNetworkHandler;secretKey:Ljavax/crypto/SecretKey;
    • player

      private ServerPlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official l Labp;l:Laaw;
      intermediary field_14161 Lnet/minecraft/class_3248;field_14161:Lnet/minecraft/class_3222;
      named player Lnet/minecraft/server/network/ServerLoginNetworkHandler;player:Lnet/minecraft/server/network/ServerPlayerEntity;
  • Constructor Details

    • ServerLoginNetworkHandler

      public ServerLoginNetworkHandler​(MinecraftServer server, ClientConnection connection)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labp;<init>(Lnet/minecraft/server/MinecraftServer;Lnu;)V
      intermediary <init> Lnet/minecraft/class_3248;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;)V
      named <init> Lnet/minecraft/server/network/ServerLoginNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;)V
  • Method Details

    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official b Labp;b()V
      intermediary method_18785 Lnet/minecraft/class_3248;method_18785()V
      named tick Lnet/minecraft/server/network/ServerLoginNetworkHandler;tick()V
    • getConnection

      public ClientConnection getConnection()
      Specified by:
      getConnection in interface PacketListener
      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;
    • disconnect

      public void disconnect​(Text reason)
      Mappings:
      Namespace Name Mixin selector
      official b Labp;b(Loi;)V
      intermediary method_14380 Lnet/minecraft/class_3248;method_14380(Lnet/minecraft/class_2561;)V
      named disconnect Lnet/minecraft/server/network/ServerLoginNetworkHandler;disconnect(Lnet/minecraft/text/Text;)V
    • acceptPlayer

      public void acceptPlayer()
      Mappings:
      Namespace Name Mixin selector
      official c Labp;c()V
      intermediary method_14384 Lnet/minecraft/class_3248;method_14384()V
      named acceptPlayer Lnet/minecraft/server/network/ServerLoginNetworkHandler;acceptPlayer()V
    • onDisconnected

      public void onDisconnected​(Text reason)
      Specified by:
      onDisconnected in interface PacketListener
      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
    • getConnectionInfo

      public String getConnectionInfo()
      Mappings:
      Namespace Name Mixin selector
      official d Labp;d()Ljava/lang/String;
      intermediary method_14383 Lnet/minecraft/class_3248;method_14383()Ljava/lang/String;
      named getConnectionInfo Lnet/minecraft/server/network/ServerLoginNetworkHandler;getConnectionInfo()Ljava/lang/String;
    • onHello

      public void onHello​(LoginHelloC2SPacket packet)
      Specified by:
      onHello in interface ServerLoginPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Luw;a(Luy;)V
      intermediary method_12641 Lnet/minecraft/class_2911;method_12641(Lnet/minecraft/class_2915;)V
      named onHello Lnet/minecraft/network/listener/ServerLoginPacketListener;onHello(Lnet/minecraft/network/packet/c2s/login/LoginHelloC2SPacket;)V
    • onKey

      public void onKey​(LoginKeyC2SPacket packet)
      Specified by:
      onKey in interface ServerLoginPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Luw;a(Luz;)V
      intermediary method_12642 Lnet/minecraft/class_2911;method_12642(Lnet/minecraft/class_2917;)V
      named onKey Lnet/minecraft/network/listener/ServerLoginPacketListener;onKey(Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;)V
    • onQueryResponse

      public void onQueryResponse​(LoginQueryResponseC2SPacket packet)
      Specified by:
      onQueryResponse in interface ServerLoginPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Luw;a(Lux;)V
      intermediary method_12640 Lnet/minecraft/class_2911;method_12640(Lnet/minecraft/class_2913;)V
      named onQueryResponse Lnet/minecraft/network/listener/ServerLoginPacketListener;onQueryResponse(Lnet/minecraft/network/packet/c2s/login/LoginQueryResponseC2SPacket;)V
    • toOfflineProfile

      protected com.mojang.authlib.GameProfile toOfflineProfile​(com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official a Labp;a(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      intermediary method_14375 Lnet/minecraft/class_3248;method_14375(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      named toOfflineProfile Lnet/minecraft/server/network/ServerLoginNetworkHandler;toOfflineProfile(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;