net.minecraft.network.protocol.common

public record ServerboundCustomPayloadPacket

implements Packet<ServerCommonPacketListener>

vp
net.minecraft.network.protocol.common.ServerboundCustomPayloadPacket
net.minecraft.class_2817
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
payload
f_291328_
private static final int
b
MAX_PAYLOAD_SIZE
field_33361
MAX_PAYLOAD_SIZE
f_290599_
private static final Map<ResourceLocation, FriendlyByteBuf$Reader<? extends CustomPacketPayload>>
c
KNOWN_TYPES
field_45694
ID_TO_READER
f_291010_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (CustomPacketPayload arg0)

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)
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)
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)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(vn arg0)
handle(ServerCommonPacketListener arg0)
method_12199(class_8706 arg0)
apply(ServerCommonPacketListener arg0)
m_5797_(C_290268_ arg0)
public CustomPacketPayload
a()
payload()
comp_1647()
payload()
f_291328_()