Uses of Interface
com.mojang.serialization.Decoder
Packages that use Decoder
Package
Description
-
Uses of Decoder in com.mojang.serialization
Subinterfaces of Decoder in com.mojang.serializationClasses in com.mojang.serialization that implement DecoderModifier and TypeClassDescriptionstatic classstatic final recordMethods in com.mojang.serialization that return DecoderModifier and TypeMethodDescriptionDecoder.Boxed.decoder()Decoder.Simple.decoder()Decoder.Terminal.decoder()MapDecoder.decoder()static <A> Decoder<A> default <B> Decoder<B> Decoder.flatMap(Function<? super A, ? extends DataResult<? extends B>> function) default <B> Decoder<B> static <A> Decoder<A> Decoder.ofBoxed(Decoder.Boxed<? extends A> boxed) static <A> Decoder<A> Decoder.ofSimple(Decoder.Simple<? extends A> simple) static <A> Decoder<A> Decoder.ofTerminal(Decoder.Terminal<? extends A> terminal) Decoder.promotePartial(Consumer<String> onError) Decoder.withLifecycle(Lifecycle lifecycle) Methods in com.mojang.serialization with parameters of type DecoderModifier and TypeMethodDescription<A> DataResult<Pair<A, T>> abstract <A> DataResult<Pair<A, T>> <A> DataResult<Pair<A, T>> static <A> Codec<A> static <A> Codec<A> <A> DataResult<A> <E> DataResult<List<E>> <K,V> DataResult <List<Pair<K, V>>> <K,V> DataResult <List<Pair<K, V>>> default <E> Function<T, DataResult<Pair<E, T>>> DynamicOps.withDecoder(Decoder<E> decoder) default <E> Function<T, DataResult<E>> DynamicOps.withParser(Decoder<E> decoder) Method parameters in com.mojang.serialization with type arguments of type Decoder -
Uses of Decoder in com.mojang.serialization.codecs
Subinterfaces of Decoder in com.mojang.serialization.codecsClasses in com.mojang.serialization.codecs that implement DecoderModifier and TypeClassDescriptionfinal classCompoundListCodec<K,V> final recordDispatchedMapCodec<K,V> final recordEitherCodec<F,S> final recordListCodec<E>final classPairCodec<F,S> final recordUnboundedMapCodec<K,V> Key and value decoded independently, unknown set of keysfinal recordXorCodec<F,S> Fields in com.mojang.serialization.codecs declared as DecoderConstructors in com.mojang.serialization.codecs with parameters of type Decoder -
Uses of Decoder in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item declared as DecoderModifier and TypeFieldDescriptionItemPredicateArgument.PredicateWrapper.typeThe field for thetyperecord component.ItemPredicateArgument.ComponentWrapper.valueCheckerThe field for thevalueCheckerrecord component.Methods in net.minecraft.commands.arguments.item that return DecoderModifier and TypeMethodDescriptionItemPredicateArgument.PredicateWrapper.type()Returns the value of thetyperecord component.ItemPredicateArgument.ComponentWrapper.valueChecker()Returns the value of thevalueCheckerrecord component.Constructors in net.minecraft.commands.arguments.item with parameters of type DecoderModifierConstructorDescriptionprivateComponentWrapper(Identifier id, Predicate<ItemStack> presenceChecker, Decoder<? extends Predicate<ItemStack>> valueChecker) Creates an instance of aComponentWrapperrecord class.privatePredicateWrapper(Identifier id, Decoder<? extends Predicate<ItemStack>> type) Creates an instance of aPredicateWrapperrecord class. -
Uses of Decoder in net.minecraft.resources
Classes in net.minecraft.resources that implement DecoderModifier and TypeClassDescriptionclassfinal classfinal classMethods in net.minecraft.resources with parameters of type DecoderModifier and TypeMethodDescriptionRegistryLoadTask.PendingRegistration.findAndLoadFromResource(Decoder<T> elementDecoder, RegistryOps<com.google.gson.JsonElement> ops, ResourceKey<T> elementKey, FileToIdConverter converter, ResourceProvider resourceProvider) RegistryLoadTask.PendingRegistration.loadFromNetwork(Decoder<T> elementDecoder, RegistryOps<Tag> ops, ResourceKey<T> elementKey, Tag contents) RegistryLoadTask.PendingRegistration.loadFromResource(Decoder<T> elementDecoder, RegistryOps<com.google.gson.JsonElement> ops, ResourceKey<T> elementKey, Resource thunk) -
Uses of Decoder in net.minecraft.util
Classes in net.minecraft.util that implement DecoderModifier and TypeClassDescriptionstatic final recordstatic classStringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>static class -
Uses of Decoder in net.neoforged.neoforge.common
Classes in net.neoforged.neoforge.common that implement DecoderModifier and TypeClassDescriptionclassKey and value decoded independently, unknown set of keys -
Uses of Decoder in net.neoforged.neoforge.common.conditions
Classes in net.neoforged.neoforge.common.conditions that implement DecoderFields in net.neoforged.neoforge.common.conditions declared as DecoderConstructors in net.neoforged.neoforge.common.conditions with parameters of type DecoderModifierConstructorDescriptionprivateConditionalDecoder(String conditionalsPropertyKey, Codec<List<ICondition>> conditionsCodec, Codec<ICondition.IContext> contextCodec, Decoder<A> innerCodec) -
Uses of Decoder in net.neoforged.neoforge.common.util
Classes in net.neoforged.neoforge.common.util that implement DecoderModifier and TypeClassDescriptionprivate static final recordMethods in net.neoforged.neoforge.common.util with parameters of type DecoderModifier and TypeMethodDescriptionstatic <A> Codec<A> NeoForgeExtraCodecs.decodeOnly(Decoder<A> decoder) Creates a codec from a decoder.