net.minecraft.network.protocol.common

public class ServerboundKeepAlivePacket

implements Packet<ServerCommonPacketListener>

aay
net.minecraft.network.protocol.common.ServerboundKeepAlivePacket
net.minecraft.class_2827
net.minecraft.network.packet.c2s.common.KeepAliveC2SPacket
net.minecraft.network.protocol.common.ServerboundKeepAlivePacket

Field summary

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

Constructor summary

ModifierConstructor
public (long id)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56476(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundKeepAlivePacket>
a()
type()
method_55846()
getPacketId()
public void
a(aav arg0)
handle(ServerCommonPacketListener arg0)
method_12266(class_8706 arg0)
apply(ServerCommonPacketListener arg0)
public long
b()
getId()
method_12267()
getId()