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

    • authenticatorThreadId

      private static final AtomicInteger authenticatorThreadId
      Mappings:
      Namespace Name Mixin selector
      official b Llo;b:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_6748 Lnet/minecraft/class_1645;field_6748: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 Llo;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_6749 Lnet/minecraft/class_1645;field_6749: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 Llo;d:Ljava/util/Random;
      intermediary field_6750 Lnet/minecraft/class_1645;field_6750: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 Llo;e:[B
      intermediary field_6751 Lnet/minecraft/class_1645;field_6751:[B
      named nonce Lnet/minecraft/server/network/ServerLoginNetworkHandler;nonce:[B
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official f Llo;f:Lnet/minecraft/server/MinecraftServer;
      intermediary field_6752 Lnet/minecraft/class_1645;field_6752: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 Llo;a:Lek;
      intermediary field_6747 Lnet/minecraft/class_1645;field_6747:Lnet/minecraft/class_1432;
      named connection Lnet/minecraft/server/network/ServerLoginNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
    • state

      Mappings:
      Namespace Name Mixin selector
      official g Llo;g:Llo$a;
      intermediary field_6753 Lnet/minecraft/class_1645;field_6753:Lnet/minecraft/class_1645$class_1646;
      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 Llo;h:I
      intermediary field_6754 Lnet/minecraft/class_1645;field_6754:I
      named loginTicks Lnet/minecraft/server/network/ServerLoginNetworkHandler;loginTicks:I
    • profile

      private com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official i Llo;i:Lcom/mojang/authlib/GameProfile;
      intermediary field_6755 Lnet/minecraft/class_1645;field_6755:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/server/network/ServerLoginNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
    • field_6756

      private String field_6756
      Mappings:
      Namespace Name Mixin selector
      official j Llo;j:Ljava/lang/String;
      intermediary field_6756 Lnet/minecraft/class_1645;field_6756:Ljava/lang/String;
      named field_6756 Lnet/minecraft/server/network/ServerLoginNetworkHandler;field_6756:Ljava/lang/String;
    • secretKey

      private SecretKey secretKey
      Mappings:
      Namespace Name Mixin selector
      official k Llo;k:Ljavax/crypto/SecretKey;
      intermediary field_6757 Lnet/minecraft/class_1645;field_6757: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 Llo;l:Llf;
      intermediary field_6758 Lnet/minecraft/class_1645;field_6758:Lnet/minecraft/class_1637;
      named clientEntity Lnet/minecraft/server/network/ServerLoginNetworkHandler;clientEntity:Lnet/minecraft/server/network/ServerPlayerEntity;
  • Constructor Details

  • Method Details

    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official c Lkm;c()V
      intermediary method_5945 Lnet/minecraft/class_1618;method_5945()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • disconnect

      public void disconnect​(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Llo;a(Ljava/lang/String;)V
      intermediary method_6134 Lnet/minecraft/class_1645;method_6134(Ljava/lang/String;)V
      named disconnect Lnet/minecraft/server/network/ServerLoginNetworkHandler;disconnect(Ljava/lang/String;)V
    • acceptPlayer

      public void acceptPlayer()
      Mappings:
      Namespace Name Mixin selector
      official b Llo;b()V
      intermediary method_6138 Lnet/minecraft/class_1645;method_6138()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 Lep;a(Leu;)V
      intermediary method_5148 Lnet/minecraft/class_1438;method_5148(Lnet/minecraft/class_1444;)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 Llo;d()Ljava/lang/String;
      intermediary method_6141 Lnet/minecraft/class_1645;method_6141()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 Ljk;a(Ljl;)V
      intermediary method_5844 Lnet/minecraft/class_1590;method_5844(Lnet/minecraft/class_1591;)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 Ljk;a(Ljm;)V
      intermediary method_5845 Lnet/minecraft/class_1590;method_5845(Lnet/minecraft/class_1592;)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 Llo;a(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      intermediary method_6133 Lnet/minecraft/class_1645;method_6133(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;
      named toOfflineProfile Lnet/minecraft/server/network/ServerLoginNetworkHandler;toOfflineProfile(Lcom/mojang/authlib/GameProfile;)Lcom/mojang/authlib/GameProfile;