net.minecraft.network.protocol.common

public record ClientboundCustomPayloadPacket

implements Packet<ClientCommonPacketListener>

aad
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket
net.minecraft.class_2658
net.minecraft.network.packet.s2c.common.CustomPayloadS2CPacket
net.minecraft.src.C_290073_
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket

Field summary

Modifier and TypeField
private final CustomPacketPayload
c
payload
comp_1646
payload
f_291001_
private static final int
d
MAX_PAYLOAD_SIZE
field_33326
MAX_PAYLOAD_SIZE
f_290501_
public static final StreamCodec<RegistryFriendlyByteBuf, ClientboundCustomPayloadPacket>
a
GAMEPLAY_STREAM_CODEC
field_48620
PLAY_CODEC
f_314159_
public static final StreamCodec<FriendlyByteBuf, ClientboundCustomPayloadPacket>
b
CONFIG_STREAM_CODEC
field_48621
CONFIGURATION_CODEC
f_316069_

Constructor summary

ModifierConstructor
public (CustomPacketPayload arg0)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundCustomPayloadPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(aac arg0)
handle(ClientCommonPacketListener arg0)
method_53024(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public CustomPacketPayload
b()
payload()
comp_1646()
payload()
f_291001_()