Interface ServerQueryPingPacketListener

All Superinterfaces:
PacketListener
All Known Subinterfaces:
ServerPlayPacketListener, ServerQueryPacketListener
All Known Implementing Classes:
ServerPlayNetworkHandler, ServerQueryNetworkHandler

public interface ServerQueryPingPacketListener extends PacketListener
Mappings:
Namespace Name
named net/minecraft/network/listener/ServerQueryPingPacketListener
intermediary net/minecraft/class_8740
official ajz
  • Method Details

    • onQueryPing

      void onQueryPing(QueryPingC2SPacket packet)
      Handles a packet from client to query the "ping" (connection latency). This is different from CommonPingS2CPacket, which can be sent by the server to request acknowledgment.
      Mappings:
      Namespace Name Mixin selector
      named onQueryPing Lnet/minecraft/network/listener/ServerQueryPingPacketListener;onQueryPing(Lnet/minecraft/network/packet/c2s/query/QueryPingC2SPacket;)V
      intermediary method_12697 Lnet/minecraft/class_8740;method_12697(Lnet/minecraft/class_2935;)V
      official a Lajz;a(Laka;)V