net.minecraft.network.protocol.common

public record ClientboundCustomPayloadPacket

implements Packet<ClientCommonPacketListener>

xj
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
a
payload
comp_1646
payload
f_291001_
private static final int
b
MAX_PAYLOAD_SIZE
field_33326
MAX_PAYLOAD_SIZE
f_290501_
private static final Map<ResourceLocation, FriendlyByteBuf$Reader<? extends CustomPacketPayload>>
c
KNOWN_TYPES
field_45693
ID_TO_READER
f_290559_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (CustomPacketPayload arg0)

Method summary

Modifier and TypeMethod
private static CustomPacketPayload
a(ahg arg0, ui arg1)
readPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_53023(class_2960 arg0, class_2540 arg1)
readPayload(Identifier id, PacketByteBuf buf)
m_293347_(C_5265_ p_298700_, C_4983_ p_298589_)
private static DiscardedPayload
b(ahg arg0, ui arg1)
readUnknownPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_53025(class_2960 arg0, class_2540 arg1)
readUnknownPayload(Identifier id, PacketByteBuf buf)
m_294768_(C_5265_ p_299265_, C_4983_ p_297545_)
public void
a(ui arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(xi arg0)
handle(ClientCommonPacketListener arg0)
method_53024(class_8705 arg0)
apply(ClientCommonPacketListener arg0)
m_5797_(C_290099_ arg0)
public CustomPacketPayload
a()
payload()
comp_1646()
payload()
f_291001_()