Class ComponentSerialization.StrictEither<T>
java.lang.Object
com.mojang.serialization.CompressorHolder
com.mojang.serialization.MapCodec<T>
net.minecraft.network.chat.ComponentSerialization.StrictEither<T>
- All Implemented Interfaces:
Compressable, Keyable, MapDecoder<T>, MapEncoder<T>
- Enclosing class:
ComponentSerialization
-
Nested Class Summary
Nested classes/interfaces inherited from class MapCodec
MapCodec.MapCodecCodec<A>, MapCodec.ResultFunction<A>Nested classes/interfaces inherited from interface MapDecoder
MapDecoder.Implementation<A>Nested classes/interfaces inherited from interface MapEncoder
MapEncoder.Implementation<A> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<O> DataResult<T> decode(DynamicOps<O> ops, MapLike<O> input) <O> RecordBuilder<O> encode(T input, DynamicOps<O> ops, RecordBuilder<O> prefix) <T1> Stream<T1> keys(DynamicOps<T1> ops) Methods inherited from class MapCodec
assumeMapUnsafe, codec, dependent, deprecated, dispatch, dispatchMap, dispatchStable, fieldOf, flatXmap, forGetter, mapResult, of, of, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, partialDispatch, recursive, setPartial, stable, unit, unit, unitCodec, unitCodec, validate, withLifecycle, xmapMethods inherited from class CompressorHolder
compressorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MapDecoder
ap, compressedDecode, compressor, decoder, flatMap, mapMethods inherited from interface MapEncoder
comap, compressedBuilder, compressor, encoder, flatComap
-
Field Details
-
typeFieldName
-
typed
-
fuzzy
-
-
Constructor Details
-
StrictEither
-
-
Method Details
-
decode
-
encode
-
keys
-