Package net.minecraft.text
Class TextCodecs.FuzzyCodec<T>
java.lang.Object
com.mojang.serialization.CompressorHolder
com.mojang.serialization.MapCodec<T>
net.minecraft.text.TextCodecs.FuzzyCodec<T>
- All Implemented Interfaces:
com.mojang.serialization.Compressable
,com.mojang.serialization.Keyable
,com.mojang.serialization.MapDecoder<T>
,com.mojang.serialization.MapEncoder<T>
- Enclosing class:
TextCodecs
private static class TextCodecs.FuzzyCodec<T>
extends com.mojang.serialization.MapCodec<T>
- Mappings:
Namespace Name named net/minecraft/text/TextCodecs$FuzzyCodec
intermediary net/minecraft/class_8824$class_8825
official xr$a
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mojang.serialization.MapCodec
com.mojang.serialization.MapCodec.MapCodecCodec<A>, com.mojang.serialization.MapCodec.ResultFunction<A>
Nested classes/interfaces inherited from interface com.mojang.serialization.MapDecoder
com.mojang.serialization.MapDecoder.Implementation<A>
Nested classes/interfaces inherited from interface com.mojang.serialization.MapEncoder
com.mojang.serialization.MapEncoder.Implementation<A>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<S> com.mojang.serialization.DataResult
<T> decode
(com.mojang.serialization.DynamicOps<S> ops, com.mojang.serialization.MapLike<S> input) <S> com.mojang.serialization.RecordBuilder
<S> encode
(T input, com.mojang.serialization.DynamicOps<S> ops, com.mojang.serialization.RecordBuilder<S> prefix) <S> Stream
<S> keys
(com.mojang.serialization.DynamicOps<S> ops) toString()
Methods inherited from class com.mojang.serialization.MapCodec
assumeMapUnsafe, codec, dependent, deprecated, fieldOf, flatXmap, forGetter, mapResult, of, of, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, recursive, setPartial, stable, unit, unit, validate, withLifecycle, xmap
Methods inherited from class com.mojang.serialization.CompressorHolder
compressor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.mojang.serialization.MapDecoder
ap, compressedDecode, compressor, decoder, flatMap, map
Methods inherited from interface com.mojang.serialization.MapEncoder
comap, compressedBuilder, compressor, encoder, flatComap
-
Field Details
-
codecs
- Mappings:
Namespace Name Mixin selector named codecs
Lnet/minecraft/text/TextCodecs$FuzzyCodec;codecs:Ljava/util/List;
intermediary field_46599
Lnet/minecraft/class_8824$class_8825;field_46599:Ljava/util/List;
official a
Lxr$a;a:Ljava/util/List;
-
codecGetter
- Mappings:
Namespace Name Mixin selector named codecGetter
Lnet/minecraft/text/TextCodecs$FuzzyCodec;codecGetter:Ljava/util/function/Function;
intermediary field_46600
Lnet/minecraft/class_8824$class_8825;field_46600:Ljava/util/function/Function;
official b
Lxr$a;b:Ljava/util/function/Function;
-
-
Constructor Details
-
FuzzyCodec
public FuzzyCodec(List<com.mojang.serialization.MapCodec<? extends T>> codecs, Function<T, com.mojang.serialization.MapEncoder<? extends T>> codecGetter) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/text/TextCodecs$FuzzyCodec;<init>(Ljava/util/List;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_8824$class_8825;<init>(Ljava/util/List;Ljava/util/function/Function;)V
official <init>
Lxr$a;<init>(Ljava/util/List;Ljava/util/function/Function;)V
-
-
Method Details
-
decode
public <S> com.mojang.serialization.DataResult<T> decode(com.mojang.serialization.DynamicOps<S> ops, com.mojang.serialization.MapLike<S> input) - Mappings:
Namespace Name Mixin selector named decode
Lnet/minecraft/text/TextCodecs$FuzzyCodec;decode(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
intermediary decode
Lnet/minecraft/class_8824$class_8825;decode(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
official decode
Lxr$a;decode(Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/MapLike;)Lcom/mojang/serialization/DataResult;
-
encode
public <S> com.mojang.serialization.RecordBuilder<S> encode(T input, com.mojang.serialization.DynamicOps<S> ops, com.mojang.serialization.RecordBuilder<S> prefix) - Mappings:
Namespace Name Mixin selector named encode
Lnet/minecraft/text/TextCodecs$FuzzyCodec;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)Lcom/mojang/serialization/RecordBuilder;
intermediary encode
Lnet/minecraft/class_8824$class_8825;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)Lcom/mojang/serialization/RecordBuilder;
official encode
Lxr$a;encode(Ljava/lang/Object;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/RecordBuilder;)Lcom/mojang/serialization/RecordBuilder;
-
keys
- Specified by:
keys
in interfacecom.mojang.serialization.Keyable
- Specified by:
keys
in classcom.mojang.serialization.MapCodec<T>
- Mappings:
Namespace Name Mixin selector named keys
Lnet/minecraft/text/TextCodecs$FuzzyCodec;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
intermediary keys
Lnet/minecraft/class_8824$class_8825;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
official keys
Lxr$a;keys(Lcom/mojang/serialization/DynamicOps;)Ljava/util/stream/Stream;
-
toString
-