Package com.mojang.serialization
package com.mojang.serialization
-
ClassDescriptionCodec<A>An operator on the result a codec, describing how to transform the result on both encoding and decoding.DataResult<R>Decoder<A>Decodes objects from a serialized form.Like a
Decoder
, but deserializes from aDynamic
, which combines the serialized form and theDynamicOps
for that form.Like aDecoder.Terminal
, but deserializes from aDynamic
, which combines the serialized form and theDynamicOps
for that form.Can decode an object from a serialized form, but does not return any remaining serialized data.Dynamic<T>DynamicLike<T>DynamicOps<T>Encoder<A>Encodes objects to a serialized form.ListBuilder<T>MapCodec<A>A combinedMapEncoder
andMapDecoder
which can convert objects to and from a series of fields.MapDecoder<A>MapEncoder<A>MapLike<T>