Interface ServerHandshakePacketListener

All Superinterfaces:
PacketListener, ServerCrashSafePacketListener, ServerPacketListener
All Known Implementing Classes:
LocalServerHandshakeNetworkHandler, ServerHandshakeNetworkHandler

public interface ServerHandshakePacketListener extends ServerCrashSafePacketListener
Mappings:
Namespace Name
official afk
intermediary net/minecraft/class_2890
named net/minecraft/network/listener/ServerHandshakePacketListener
  • Method Details

    • getState

      default NetworkState getState()
      Specified by:
      getState in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      official b Luo;b()Luh;
      intermediary method_52280 Lnet/minecraft/class_2547;method_52280()Lnet/minecraft/class_2539;
      named getState Lnet/minecraft/network/listener/PacketListener;getState()Lnet/minecraft/network/NetworkState;
    • onHandshake

      void onHandshake(HandshakeC2SPacket packet)
      Mappings:
      Namespace Name Mixin selector
      official a Lafk;a(Lafj;)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