net.minecraft.network.packet.s2c.common

public class CommonPingS2CPacket

implements Packet<ClientCommonPacketListener>

net.minecraft.network.protocol.common.ClientboundPingPacket
net.minecraft.class_6373
net.minecraft.network.packet.s2c.common.CommonPingS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, CommonPingS2CPacket>
STREAM_CODEC
field_48624
CODEC
private final int
id
field_33751
parameter

Constructor summary

ModifierConstructor
public (int parameter)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56464(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<CommonPingS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientCommonPacketListener listener)
method_36949(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public int
getId()
method_36950()
getParameter()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)