Package net.minecraft.network.listener
Interface ClientPingResultPacketListener
- All Superinterfaces:
PacketListener
- All Known Subinterfaces:
ClientPlayPacketListener
,ClientQueryPacketListener
- All Known Implementing Classes:
ClientPlayNetworkHandler
- Mappings:
Namespace Name official uc
intermediary net/minecraft/class_8763
named net/minecraft/network/listener/ClientPingResultPacketListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPingResult
(PingResultS2CPacket packet) Handles a packet from the server that includes the "ping" (connection latency).Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, addCustomCrashReportInfo, fillCrashReport, getSide, getState, isConnectionOpen, onDisconnected, shouldCrashOnException
-
Method Details
-
onPingResult
Handles a packet from the server that includes the "ping" (connection latency). This is different fromCommonPongC2SPacket
, which is sent by the client to acknowledgment a ping packet from the server.- Mappings:
Namespace Name Mixin selector official a
Luc;a(Lagf;)V
intermediary method_12666
Lnet/minecraft/class_8763;method_12666(Lnet/minecraft/class_2923;)V
named onPingResult
Lnet/minecraft/network/listener/ClientPingResultPacketListener;onPingResult(Lnet/minecraft/network/packet/s2c/query/PingResultS2CPacket;)V
-