net.minecraft.network.protocol.common

public record ServerboundCustomPayloadPacket

implements Packet<ServerCommonPacketListener>

aax
net.minecraft.network.protocol.common.ServerboundCustomPayloadPacket
net.minecraft.class_2817
net.minecraft.network.packet.c2s.common.CustomPayloadC2SPacket
net.minecraft.network.protocol.common.ServerboundCustomPayloadPacket

Field summary

Modifier and TypeField
private final CustomPacketPayload
b
payload
comp_1647
payload
private static final int
c
MAX_PAYLOAD_SIZE
field_33361
MAX_PAYLOAD_SIZE
public static final StreamCodec<FriendlyByteBuf, ServerboundCustomPayloadPacket>
a
STREAM_CODEC
field_48646
CODEC

Constructor summary

ModifierConstructor
public (CustomPacketPayload arg0)

Method summary

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