Package net.minecraft.network.listener
Interface ServerQueryPingPacketListener
- All Superinterfaces:
PacketListener
- All Known Subinterfaces:
ServerPlayPacketListener
,ServerQueryPacketListener
- All Known Implementing Classes:
ServerPlayNetworkHandler
,ServerQueryNetworkHandler
- Mappings:
Namespace Name named net/minecraft/network/listener/ServerQueryPingPacketListener
intermediary net/minecraft/class_8740
official ajz
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onQueryPing
(QueryPingC2SPacket packet) Handles a packet from client to query the "ping" (connection latency).Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, addCustomCrashReportInfo, fillCrashReport, getPhase, getSide, isConnectionOpen, onDisconnected, onPacketException
-
Method Details
-
onQueryPing
Handles a packet from client to query the "ping" (connection latency). This is different fromCommonPingS2CPacket
, 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
-