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
(CustomPacketPayload p_297976_) protected void
ClientConfigurationPacketListenerImpl.handleCustomPayload
(CustomPacketPayload p_301281_) void
ClientPacketListener.handleCustomPayload
(CustomPacketPayload p_300286_) private void
ClientConfigurationPacketListenerImpl.handleUnknownCustomPayload
(CustomPacketPayload p_300719_) private void
ClientPacketListener.handleUnknownCustomPayload
(CustomPacketPayload p_301051_) -
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_298700_, FriendlyByteBuf p_298589_) private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_301116_, FriendlyByteBuf p_298967_) 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
final record
-
Uses of CustomPacketPayload in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprivate static void
DebugPackets.sendPacketToAllPlayers
(ServerLevel p_133692_, CustomPacketPayload p_298207_)