net.minecraft.network.protocol.common

public class ClientboundKeepAlivePacket

implements Packet<ClientCommonPacketListener>

zq
net.minecraft.network.protocol.common.ClientboundKeepAlivePacket
net.minecraft.class_2670
net.minecraft.network.packet.s2c.common.KeepAliveS2CPacket
net.minecraft.src.C_290206_
net.minecraft.network.protocol.common.ClientboundKeepAlivePacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundKeepAlivePacket>
a
STREAM_CODEC
field_48623
CODEC
f_314816_
private final long
b
id
field_12211
id
f_291904_

Constructor summary

ModifierConstructor
public (long id)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_56463(class_2540 arg0)
write(PacketByteBuf buf)
m_294131_(C_4983_ arg0)
public PacketType<ClientboundKeepAlivePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(zm arg0)
handle(ClientCommonPacketListener arg0)
method_11518(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public long
b()
getId()
method_11517()
getId()
m_295012_()