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) protected abstract void
ClientCommonNetworkHandler.onCustomPayload
(CustomPayload payload) protected void
ClientConfigurationNetworkHandler.onCustomPayload
(CustomPayload payload) void
ClientPlayNetworkHandler.onCustomPayload
(CustomPayload payload) private void
ClientPlayNetworkHandler.warnOnUnknownPayload
(CustomPayload payload) -
Uses of CustomPayload in net.minecraft.network.packet
Modifier and TypeClassDescriptionstatic final record
CustomPayload.Id<T extends CustomPayload>
static final record
CustomPayload.Type<B extends PacketByteBuf,
T extends CustomPayload> Modifier and TypeClassDescriptionfinal record
final record
Modifier and TypeMethodDescriptionstatic <B extends ByteBuf,
T extends CustomPayload>
PacketCodec<B, T> CustomPayload.codecOf
(ValueFirstEncoder<B, T> encoder, PacketDecoder<B, T> decoder) static <T extends CustomPayload>
CustomPayload.Id<T> Modifier and TypeMethodDescriptionPacketCodec
<B, ? extends CustomPayload> CustomPayload.CodecFactory.create
(Identifier id) static <B extends PacketByteBuf>
PacketCodec<B, CustomPayload> CustomPayload.createCodec
(CustomPayload.CodecFactory<B> unknownCodecFactory, List<CustomPayload.Type<? super B, ?>> types) CustomPayload.Id
<? extends CustomPayload> CustomPayload.getId()
-
Uses of CustomPayload in net.minecraft.network.packet.c2s.common
Modifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadC2SPacket.payload
The field for thepayload
record component. -
Uses of CustomPayload in net.minecraft.network.packet.s2c.common
Modifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadS2CPacket.payload
The field for thepayload
record component. -
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
final record
-
Uses of CustomPayload in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate static void
DebugInfoSender.sendToAll
(ServerWorld world, CustomPayload payload)