net.minecraft.network.protocol.common

public class ClientboundKeepAlivePacket

implements Packet<ClientCommonPacketListener>

zg
net.minecraft.network.protocol.common.ClientboundKeepAlivePacket
net.minecraft.class_2670
net.minecraft.network.packet.s2c.common.KeepAliveS2CPacket
net.minecraft.network.protocol.common.ClientboundKeepAlivePacket

Field summary

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

Constructor summary

ModifierConstructor
public (long id)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56463(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundKeepAlivePacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_11518(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public long
b()
getId()
method_11517()
getId()