Uses of Interface
net.minecraft.network.packet.CustomPayload
Package
Description
-
Uses of CustomPayload in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate void
ClientConfigurationNetworkHandler.handleCustomPayload
(CustomPayload payload) private void
ClientPlayNetworkHandler.method_52801
(CustomPayload customPayload) protected abstract void
ClientCommonNetworkHandler.onCustomPayload
(CustomPayload payload) protected void
ClientConfigurationNetworkHandler.onCustomPayload
(CustomPayload payload) void
ClientPlayNetworkHandler.onCustomPayload
(CustomPayload payload) -
Uses of CustomPayload in net.minecraft.network.packet
Modifier and TypeClassDescriptionfinal record
final record
-
Uses of CustomPayload in net.minecraft.network.packet.c2s.common
Modifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadC2SPacket.payload
The field for thepayload
record component.Modifier and TypeFieldDescriptionprivate static final Map<Identifier,
PacketByteBuf.PacketReader<? extends CustomPayload>> CustomPayloadC2SPacket.ID_TO_READER
Modifier and TypeMethodDescriptionCustomPayloadC2SPacket.payload()
Returns the value of thepayload
record component.private static CustomPayload
CustomPayloadC2SPacket.readPayload
(Identifier id, PacketByteBuf buf) -
Uses of CustomPayload in net.minecraft.network.packet.s2c.common
Modifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadS2CPacket.payload
The field for thepayload
record component.Modifier and TypeFieldDescriptionprivate static final Map<Identifier,
PacketByteBuf.PacketReader<? extends CustomPayload>> CustomPayloadS2CPacket.ID_TO_READER
Modifier and TypeMethodDescriptionCustomPayloadS2CPacket.payload()
Returns the value of thepayload
record component.private static CustomPayload
CustomPayloadS2CPacket.readPayload
(Identifier id, PacketByteBuf buf) -
Uses of CustomPayload in net.minecraft.network.packet.s2c.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
-
Uses of CustomPayload in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate static void
DebugInfoSender.sendToAll
(ServerWorld world, CustomPayload payload)