net.minecraft.network.protocol.common

public record ServerboundCustomPayloadPacket

implements Packet<ServerCommonPacketListener>

vp
net.minecraft.network.protocol.common.ServerboundCustomPayloadPacket
net.minecraft.class_2817
net.minecraft.unmapped.C_otnddlok
net.minecraft.network.packet.c2s.common.CustomPayloadC2SPacket
net.minecraft.network.packet.c2s.common.CustomPayloadC2SPacket
net.minecraft.src.C_290168_
net.minecraft.network.protocol.common.ServerboundCustomPayloadPacket

Field summary

Modifier and TypeField
private final CustomPacketPayload
a
payload
comp_1647
f_okdpqlsc
payload
payload
f_291328_
private static final int
b
MAX_PAYLOAD_SIZE
field_33361
f_fbngaxcj
MAX_PAYLOAD_SIZE
MAX_PAYLOAD_SIZE
f_290599_
private static final Map<ResourceLocation, FriendlyByteBuf$Reader<? extends CustomPacketPayload>>
c
KNOWN_TYPES
field_45694
f_rckywefn
ID_TO_READER
KNOWN_TYPES
f_291010_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (CustomPacketPayload payload)

Method summary

Modifier and TypeMethod
private static CustomPacketPayload
a(aew arg0, so arg1)
readPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_53026(class_2960 arg0, class_2540 arg1)
m_yjjkkrgp(C_ncpywfca arg0, C_idfydwco arg1)
readPayload(Identifier id, PacketByteBuf buf)
readPayload(Identifier id, PacketByteBuf buf)
m_293287_(C_5265_ p_301116_, C_4983_ p_298967_)
private static DiscardedPayload
b(aew arg0, so arg1)
readUnknownPayload(ResourceLocation arg0, FriendlyByteBuf arg1)
method_53027(class_2960 arg0, class_2540 arg1)
m_mrtyisql(C_ncpywfca arg0, C_idfydwco arg1)
readUnknownPayload(Identifier id, PacketByteBuf buf)
readUnknownPayload(Identifier id, PacketByteBuf buf)
m_295544_(C_5265_ p_300234_, C_4983_ p_299925_)
public void
a(so arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
m_pwnpydub(C_idfydwco arg0)
write(PacketByteBuf arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(vn arg0)
handle(ServerCommonPacketListener arg0)
method_12199(class_8706 arg0)
m_wquzznwq(C_umrqumqp arg0)
apply(ServerCommonPacketListener arg0)
apply(ServerCommonPacketListener arg0)
m_5797_(C_290268_ arg0)
public CustomPacketPayload
a()
payload()
comp_1647()
m_kgsonjea()
payload()
payload()
f_291328_()