Uses of Interface
net.minecraft.network.protocol.common.custom.CustomPacketPayload
Package
Description
-
Uses of CustomPacketPayload in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionprotected abstract void
ClientCommonPacketListenerImpl.handleCustomPayload
(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_295776_) protected void
ClientConfigurationPacketListenerImpl.handleCustomPayload
(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_295411_) void
ClientPacketListener.handleCustomPayload
(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_295851_) private void
ClientConfigurationPacketListenerImpl.handleUnknownCustomPayload
(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_296412_) private void
ClientPacketListener.handleUnknownCustomPayload
(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_294389_) -
Uses of CustomPacketPayload in net.minecraft.network.protocol.common
Modifier and TypeFieldDescriptionprivate final CustomPacketPayload
ClientboundCustomPayloadPacket.payload
The field for thepayload
record component.private final CustomPacketPayload
ServerboundCustomPayloadPacket.payload
The field for thepayload
record component.Modifier and TypeFieldDescriptionprivate static final Map<ResourceLocation,
FriendlyByteBuf.Reader<? extends CustomPacketPayload>> ClientboundCustomPayloadPacket.KNOWN_TYPES
private static final Map<ResourceLocation,
FriendlyByteBuf.Reader<? extends CustomPacketPayload>> ServerboundCustomPayloadPacket.KNOWN_TYPES
Modifier and TypeMethodDescriptionClientboundCustomPayloadPacket.payload()
Returns the value of thepayload
record component.ServerboundCustomPayloadPacket.payload()
Returns the value of thepayload
record component.private static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_294802_, FriendlyByteBuf p_294886_) private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_) ModifierConstructorDescriptionCreates an instance of aClientboundCustomPayloadPacket
record class.Creates an instance of aServerboundCustomPayloadPacket
record class. -
Uses of CustomPacketPayload in net.minecraft.network.protocol.common.custom
Modifier and TypeClassDescriptionfinal record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
final record
-
Uses of CustomPacketPayload in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprivate static void
DebugPackets.sendPacketToAllPlayers
(ServerLevel p_133692_, CustomPacketPayload p_296119_) -
Uses of CustomPacketPayload in net.neoforged.neoforge.network
Modifier and TypeInterfaceDescriptioninterface
Forge extension interface to deal with custom forge query payloads. -
Uses of CustomPacketPayload in net.neoforged.neoforge.network.custom.payload