Interface ClientPingResultPacketListener

All Superinterfaces:
PacketListener
All Known Subinterfaces:
ClientPlayPacketListener, ClientQueryPacketListener
All Known Implementing Classes:
ClientPlayNetworkHandler

public interface ClientPingResultPacketListener extends PacketListener
Mappings:
Namespace Name
named net/minecraft/network/listener/ClientPingResultPacketListener
intermediary net/minecraft/class_8763
official ajw
  • Method Details

    • onPingResult

      void onPingResult(PingResultS2CPacket packet)
      Handles a packet from the server that includes the "ping" (connection latency). This is different from CommonPongC2SPacket, which is sent by the client to acknowledgment a ping packet from the server.
      Mappings:
      Namespace Name Mixin selector
      named onPingResult Lnet/minecraft/network/listener/ClientPingResultPacketListener;onPingResult(Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;)V
      intermediary method_12666 Lnet/minecraft/class_8763;method_12666(Lnet/minecraft/class_2923;)V
      official a Lajw;a(Lajx;)V