Uses of Interface
net.minecraft.network.packet.CustomPayload
Packages that use CustomPayload
Package
Description
-
Uses of CustomPayload in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type CustomPayloadModifier 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
Classes in net.minecraft.network.packet with type parameters of type CustomPayloadModifier and TypeClassDescriptionstatic final record
CustomPayload.Id<T extends CustomPayload>
static final record
CustomPayload.Type<B extends PacketByteBuf,
T extends CustomPayload> Classes in net.minecraft.network.packet that implement CustomPayloadModifier and TypeClassDescriptionfinal record
final record
Methods in net.minecraft.network.packet with type parameters of type CustomPayloadModifier 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> Methods in net.minecraft.network.packet that return types with arguments of type CustomPayloadModifier 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
Fields in net.minecraft.network.packet.c2s.common declared as CustomPayloadModifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadC2SPacket.payload
The field for thepayload
record component.Methods in net.minecraft.network.packet.c2s.common that return CustomPayloadModifier and TypeMethodDescriptionCustomPayloadC2SPacket.payload()
Returns the value of thepayload
record component.Constructors in net.minecraft.network.packet.c2s.common with parameters of type CustomPayload -
Uses of CustomPayload in net.minecraft.network.packet.s2c.common
Fields in net.minecraft.network.packet.s2c.common declared as CustomPayloadModifier and TypeFieldDescriptionprivate final CustomPayload
CustomPayloadS2CPacket.payload
The field for thepayload
record component.Methods in net.minecraft.network.packet.s2c.common that return CustomPayloadModifier and TypeMethodDescriptionCustomPayloadS2CPacket.payload()
Returns the value of thepayload
record component.Constructors in net.minecraft.network.packet.s2c.common with parameters of type CustomPayload -
Uses of CustomPayload in net.minecraft.network.packet.s2c.custom
Classes in net.minecraft.network.packet.s2c.custom that implement CustomPayloadModifier 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
Methods in net.minecraft.server.network with parameters of type CustomPayloadModifier and TypeMethodDescriptionprivate static void
DebugInfoSender.sendToAll
(ServerWorld world, CustomPayload payload)