Class ServerHandshakeNetworkHandler

java.lang.Object
net.minecraft.server.network.ServerHandshakeNetworkHandler
All Implemented Interfaces:
PacketListener, ServerHandshakePacketListener

public class ServerHandshakeNetworkHandler
extends Object
implements ServerHandshakePacketListener
Mappings:
Namespace Name
official abo
intermediary net/minecraft/class_3246
named net/minecraft/server/network/ServerHandshakeNetworkHandler
  • Field Details

    • IGNORING_STATUS_REQUEST_MESSAGE

      private static final Text IGNORING_STATUS_REQUEST_MESSAGE
      Mappings:
      Namespace Name Mixin selector
      official a Labo;a:Loi;
      intermediary field_24457 Lnet/minecraft/class_3246;field_24457:Lnet/minecraft/class_2561;
      named IGNORING_STATUS_REQUEST_MESSAGE Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;IGNORING_STATUS_REQUEST_MESSAGE:Lnet/minecraft/text/Text;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official b Labo;b:Lnet/minecraft/server/MinecraftServer;
      intermediary field_14154 Lnet/minecraft/class_3246;field_14154:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
    • connection

      private final ClientConnection connection
      Mappings:
      Namespace Name Mixin selector
      official c Labo;c:Lnu;
      intermediary field_14153 Lnet/minecraft/class_3246;field_14153:Lnet/minecraft/class_2535;
      named connection Lnet/minecraft/server/network/ServerHandshakeNetworkHandler;connection:Lnet/minecraft/network/ClientConnection;
  • Constructor Details

    • ServerHandshakeNetworkHandler

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

    • onHandshake

      public void onHandshake​(HandshakeC2SPacket packet)
      Specified by:
      onHandshake in interface ServerHandshakePacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Luo;a(Lun;)V
      intermediary method_12576 Lnet/minecraft/class_2890;method_12576(Lnet/minecraft/class_2889;)V
      named onHandshake Lnet/minecraft/network/listener/ServerHandshakePacketListener;onHandshake(Lnet/minecraft/network/packet/c2s/handshake/HandshakeC2SPacket;)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
    • 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;