yarn/mappings/net/minecraft/network/packet/s2c/common/CommonPingS2CPacket.mapping

22 lines
1.0 KiB
Plaintext

CLASS net/minecraft/class_6373 net/minecraft/network/packet/s2c/common/CommonPingS2CPacket
COMMENT A packet sent by the server; the client will reply with a pong packet on the
COMMENT first tick after it receives this packet, with the same {@link #parameter}.
COMMENT
COMMENT @see net.minecraft.network.packet.c2s.common.CommonPongC2SPacket
COMMENT @see net.minecraft.network.packet.s2c.common.KeepAliveS2CPacket
FIELD field_33751 parameter I
COMMENT The parameter of this ping packet.
COMMENT
COMMENT <p>If this number represents a tick, this could measure the network delay in
COMMENT ticks. It is possible to be a tick number given the reply packet is sent on
COMMENT the client on the main thread's tick, and the number is sent as a regular int
COMMENT than a varint.
FIELD field_48624 CODEC Lnet/minecraft/class_9139;
METHOD <init> (I)V
ARG 1 parameter
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf
METHOD method_36950 getParameter ()I
METHOD method_56464 write (Lnet/minecraft/class_2540;)V
ARG 1 buf