Package com.mojang.serialization
Interface MapDecoder<A>
- All Superinterfaces:
Keyable
- All Known Implementing Classes:
EitherMapCodec
,FieldDecoder
,KeyDispatchCodec
,MapCodec
,MapDecoder.Implementation
,OptionalFieldCodec
,PairMapCodec
,SimpleMapCodec
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault <E> MapDecoder<E>
ap
(MapDecoder<Function<? super A, ? extends E>> decoder) default <T> DataResult<A>
compressedDecode
(DynamicOps<T> ops, T input) <T> KeyCompressor<T>
compressor
(DynamicOps<T> ops) <T> DataResult<A>
decode
(DynamicOps<T> ops, MapLike<T> input) decoder()
default <B> MapDecoder<B>
flatMap
(Function<? super A, ? extends DataResult<? extends B>> function) default <B> MapDecoder<B>
default MapDecoder<A>
withLifecycle
(Lifecycle lifecycle)
-
Method Details
-
decode
-
compressedDecode
-
compressor
-
decoder
-
flatMap
-
map
-
ap
-
withLifecycle
-