net.minecraft.network.protocol.common

public record ClientboundStoreCookiePacket

implements Packet<ClientCommonPacketListener>

zl
net.minecraft.network.protocol.common.ClientboundStoreCookiePacket
net.minecraft.class_9150
net.minecraft.network.packet.s2c.common.StoreCookieS2CPacket
net.minecraft.network.protocol.common.ClientboundStoreCookiePacket

Field summary

Modifier and TypeField
private final ResourceLocation
c
key
comp_2238
key
private final byte[]
d
payload
comp_2239
payload
public static final StreamCodec<FriendlyByteBuf, ClientboundStoreCookiePacket>
a
STREAM_CODEC
field_48627
CODEC
private static final int
e
MAX_PAYLOAD_SIZE
field_48628
MAX_COOKIE_LENGTH
public static final StreamCodec<io.netty.buffer.ByteBuf, byte[]>
b
PAYLOAD_STREAM_CODEC
field_49011
COOKIE_PACKET_CODEC

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (ResourceLocation arg0, byte[] arg1)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_56467(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundStoreCookiePacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_56468(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public ResourceLocation
b()
key()
comp_2238()
key()
public byte[]
e()
payload()
comp_2239()
payload()