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 voidClientConfigurationNetworkHandler.handleCustomPayload(CustomPayload payload) protected abstract voidClientCommonNetworkHandler.onCustomPayload(CustomPayload payload) protected voidClientConfigurationNetworkHandler.onCustomPayload(CustomPayload payload) voidClientPlayNetworkHandler.onCustomPayload(CustomPayload payload) private voidClientPlayNetworkHandler.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 recordCustomPayload.Id<T extends CustomPayload>static final recordCustomPayload.Type<B extends PacketByteBuf,T extends CustomPayload> Classes in net.minecraft.network.packet that implement CustomPayloadModifier and TypeClassDescriptionfinal recordfinal recordMethods 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 CustomPayloadCustomPayloadC2SPacket.payloadThe field for thepayloadrecord component.Methods in net.minecraft.network.packet.c2s.common that return CustomPayloadModifier and TypeMethodDescriptionCustomPayloadC2SPacket.payload()Returns the value of thepayloadrecord 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 CustomPayloadCustomPayloadS2CPacket.payloadThe field for thepayloadrecord component.Methods in net.minecraft.network.packet.s2c.common that return CustomPayloadModifier and TypeMethodDescriptionCustomPayloadS2CPacket.payload()Returns the value of thepayloadrecord component.Constructors in net.minecraft.network.packet.s2c.common with parameters of type CustomPayload