net.minecraft.network.protocol.common

public record ServerboundCustomPayloadPacket

implements Packet<ServerCommonPacketListener>

aab
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
b
payload
comp_1647
payload
f_291328_
private static final int
c
MAX_PAYLOAD_SIZE
field_33361
MAX_PAYLOAD_SIZE
f_290599_
public static final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket>
a
STREAM_CODEC
field_48646
CODEC
f_316323_

Constructor summary

ModifierConstructor
public (CustomPacketPayload arg0)

Method summary

Modifier and TypeMethod
public PacketType<ServerboundCustomPayloadPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(zz arg0)
handle(ServerCommonPacketListener arg0)
method_12199(class_8706 arg0)
apply(ServerCommonPacketListener arg0)
m_5797_(C_290268_ arg0)
public CustomPacketPayload
b()
payload()
comp_1647()
payload()
f_291328_()