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 pc
intermediary net/minecraft/class_2112
named net/minecraft/server/network/ServerLoginNetworkHandler
  • Field Details

    • authenticatorThreadId

      private static final AtomicInteger authenticatorThreadId
      Mappings:
      Namespace Name Mixin selector
      official b Lpc;b:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_8952 Lnet/minecraft/class_2112;field_8952: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 Lpc;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_8953 Lnet/minecraft/class_2112;field_8953: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 Lpc;d:Ljava/util/Random;
      intermediary field_8954 Lnet/minecraft/class_2112;field_8954: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 Lpc;e:[B
      intermediary field_8955 Lnet/minecraft/class_2112;field_8955:[B
      named nonce Lnet/minecraft/server/network/ServerLoginNetworkHandler;nonce:[B
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official f Lpc;f:Lnet/minecraft/server/MinecraftServer;
      intermediary field_8956 Lnet/minecraft/class_2112;field_8956: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 Lpc;a:Lgw;
      intermediary field_8951 Lnet/minecraft/class_2112;field_8951:Lnet/minecraft/class_1957;
      named connection Lnet/minecraft/server/network/ServerLoginNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
    • state

      Mappings:
      Namespace Name Mixin selector
      official g Lpc;g:Lpc$a;
      intermediary field_8957 Lnet/minecraft/class_2112;field_8957:Lnet/minecraft/class_2112$class_2114;
      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 Lpc;h:I
      intermediary field_8958 Lnet/minecraft/class_2112;field_8958:I
      named loginTicks Lnet/minecraft/server/network/ServerLoginNetworkHandler;loginTicks:I
    • profile

      private com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official i Lpc;i:Lcom/mojang/authlib/GameProfile;
      intermediary field_8959 Lnet/minecraft/class_2112;field_8959:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/server/network/ServerLoginNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
    • field_8960

      private final String field_8960
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lpc;j:Ljava/lang/String;
      intermediary field_8960 Lnet/minecraft/class_2112;field_8960:Ljava/lang/String;
      named field_8960 Lnet/minecraft/server/network/ServerLoginNetworkHandler;field_8960:Ljava/lang/String;
    • secretKey

      private SecretKey secretKey
      Mappings:
      Namespace Name Mixin selector
      official k Lpc;k:Ljavax/crypto/SecretKey;
      intermediary field_8961 Lnet/minecraft/class_2112;field_8961:Ljavax/crypto/SecretKey;
      named secretKey Lnet/minecraft/server/network/ServerLoginNetworkHandler;secretKey:Ljavax/crypto/SecretKey;
    • clientEntity

      private ServerPlayerEntity clientEntity
      Mappings:
      Namespace Name Mixin selector
      official l Lpc;l:Loq;
      intermediary field_11781 Lnet/minecraft/class_2112;field_11781:Lnet/minecraft/class_798;
      named clientEntity Lnet/minecraft/server/network/ServerLoginNetworkHandler;clientEntity:Lnet/minecraft/entity/player/ServerPlayerEntity;
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official e Lnx;e()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • method_14978

      public void method_14978(Text text)
      Mappings:
      Namespace Name Mixin selector
      official b Lpc;b(Lhh;)V
      intermediary method_14978 Lnet/minecraft/class_2112;method_14978(Lnet/minecraft/class_1982;)V
      named method_14978 Lnet/minecraft/server/network/ServerLoginNetworkHandler;method_14978(Lnet/minecraft/text/Text;)V
    • acceptPlayer

      public void acceptPlayer()
      Mappings:
      Namespace Name Mixin selector
      official b Lpc;b()V
      intermediary method_8177 Lnet/minecraft/class_2112;method_8177()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 Lhb;a(Lhh;)V
      intermediary method_7456 Lnet/minecraft/class_701;method_7456(Lnet/minecraft/class_1982;)V
      named onDisconnected Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
    • getConnectionInfo

      public String getConnectionInfo()
      Mappings:
      Namespace Name Mixin selector
      official c Lpc;c()Ljava/lang/String;
      intermediary method_8179 Lnet/minecraft/class_2112;method_8179()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 Lml;a(Lmm;)V
      intermediary method_8056 Lnet/minecraft/class_2076;method_8056(Lnet/minecraft/class_2077;)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 Lml;a(Lmn;)V
      intermediary method_8057 Lnet/minecraft/class_2076;method_8057(Lnet/minecraft/class_721;)V
      named onKey Lnet/minecraft/network/listener/ServerLoginPacketListener;onKey(Lnet/minecraft/network/packet/c2s/login/LoginKeyC2SPacket;)V
    • toOfflineProfile

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