Class ServerQueryNetworkHandler

java.lang.Object
net.minecraft.server.network.ServerQueryNetworkHandler
All Implemented Interfaces:
PacketListener, ServerQueryPacketListener

public class ServerQueryNetworkHandler extends Object implements ServerQueryPacketListener
Mappings:
Namespace Name
official nf
intermediary net/minecraft/class_2115
named net/minecraft/server/network/ServerQueryNetworkHandler
  • Field Details

    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official a Lnf;a:Lnet/minecraft/server/MinecraftServer;
      intermediary field_8969 Lnet/minecraft/class_2115;field_8969:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/network/ServerQueryNetworkHandler;server:Lnet/minecraft/server/MinecraftServer;
    • field_8970

      private final ClientConnection field_8970
      Mappings:
      Namespace Name Mixin selector
      official b Lnf;b:Lef;
      intermediary field_8970 Lnet/minecraft/class_2115;field_8970:Lnet/minecraft/class_1957;
      named field_8970 Lnet/minecraft/server/network/ServerQueryNetworkHandler;field_8970:Lnet/minecraft/network/ClientConnection;
  • Constructor Details

  • Method Details

    • onDisconnected

      public void onDisconnected(Text reason)
      Specified by:
      onDisconnected in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Ler;a(Lez;)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
    • method_7455

      public void method_7455(NetworkState networkState, NetworkState networkState2)
      Specified by:
      method_7455 in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Ler;a(Lej;Lej;)V
      intermediary method_7455 Lnet/minecraft/class_701;method_7455(Lnet/minecraft/class_1962;Lnet/minecraft/class_1962;)V
      named method_7455 Lnet/minecraft/network/listener/PacketListener;method_7455(Lnet/minecraft/network/NetworkState;Lnet/minecraft/network/NetworkState;)V
    • method_7454

      public void method_7454()
      Specified by:
      method_7454 in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Ler;a()V
      intermediary method_7454 Lnet/minecraft/class_701;method_7454()V
      named method_7454 Lnet/minecraft/network/listener/PacketListener;method_7454()V
    • onRequest

      public void onRequest(QueryRequestC2SPacket packet)
      Specified by:
      onRequest in interface ServerQueryPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lju;a(Ljw;)V
      intermediary method_8090 Lnet/minecraft/class_2087;method_8090(Lnet/minecraft/class_2089;)V
      named onRequest Lnet/minecraft/network/listener/ServerQueryPacketListener;onRequest(Lnet/minecraft/network/packet/c2s/query/QueryRequestC2SPacket;)V
    • onPing

      public void onPing(QueryPingC2SPacket packet)
      Specified by:
      onPing in interface ServerQueryPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lju;a(Ljv;)V
      intermediary method_8089 Lnet/minecraft/class_2087;method_8089(Lnet/minecraft/class_2088;)V
      named onPing Lnet/minecraft/network/listener/ServerQueryPacketListener;onPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V