net.minecraft.network.protocol.common

public class ServerboundKeepAlivePacket

implements Packet<ServerCommonPacketListener>

aaq
net.minecraft.network.protocol.common.ServerboundKeepAlivePacket
net.minecraft.class_2827
net.minecraft.network.packet.c2s.common.KeepAliveC2SPacket
net.minecraft.src.C_290227_
net.minecraft.network.protocol.common.ServerboundKeepAlivePacket

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundKeepAlivePacket>
a
STREAM_CODEC
field_48647
CODEC
f_315984_
private final long
b
id
field_12883
id
f_290951_

Constructor summary

ModifierConstructor
public (long id)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wm arg0)
write(FriendlyByteBuf arg0)
method_56476(class_2540 arg0)
write(PacketByteBuf buf)
m_295766_(C_4983_ arg0)
public PacketType<ServerboundKeepAlivePacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aan arg0)
handle(ServerCommonPacketListener arg0)
method_12266(class_8706 arg0)
apply(ServerCommonPacketListener arg0)
m_5797_(C_290268_ arg0)
public long
b()
getId()
method_12267()
getId()
m_293668_()