net.minecraft.network.protocol.common

public record ClientboundCustomPayloadPacket

implements Packet<ClientCommonPacketListener>

zd
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket
net.minecraft.class_2658
net.minecraft.network.packet.s2c.common.CustomPayloadS2CPacket
net.minecraft.network.protocol.common.ClientboundCustomPayloadPacket

Field summary

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

Constructor summary

ModifierConstructor
public (CustomPacketPayload arg0)

Method summary

Modifier and TypeMethod
public PacketType<ClientboundCustomPayloadPacket>
a()
type()
method_65080()
getPacketType()
public void
a(zc arg0)
handle(ClientCommonPacketListener arg0)
method_53024(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
public CustomPacketPayload
b()
payload()
comp_1646()
payload()