Package net.minecraft.util
Class StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
java.lang.Object
net.minecraft.util.StringRepresentable.StringRepresentableCodec<E>
net.minecraft.util.StringRepresentable.EnumCodec<E>
- All Implemented Interfaces:
com.mojang.serialization.Codec<E>
,com.mojang.serialization.Decoder<E>
,com.mojang.serialization.Encoder<E>
- Enclosing interface:
StringRepresentable
@Deprecated
public static class StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
extends StringRepresentable.StringRepresentableCodec<E>
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mojang.serialization.Codec
com.mojang.serialization.Codec.ResultFunction<A extends Object>
-
Field Summary
Fields inherited from interface com.mojang.serialization.Codec
BOOL, BYTE, BYTE_BUFFER, DOUBLE, EMPTY, FLOAT, INT, INT_STREAM, LONG, LONG_STREAM, PASSTHROUGH, SHORT, STRING
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.util.StringRepresentable.StringRepresentableCodec
decode, encode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.serialization.Codec
comapFlatMap, deprecated, dispatch, dispatch, dispatchMap, dispatchMap, dispatchStable, fieldOf, flatComapMap, flatXmap, listOf, mapResult, optionalFieldOf, optionalFieldOf, optionalFieldOf, optionalFieldOf, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, partialDispatch, promotePartial, stable, withLifecycle, xmap
Methods inherited from interface com.mojang.serialization.Decoder
boxed, decode, flatMap, map, parse, parse, simple, terminal
Methods inherited from interface com.mojang.serialization.Encoder
comap, encodeStart, flatComap
-
Field Details
-
resolver
Deprecated.
-
-
Constructor Details
-
EnumCodec
Deprecated.
-
-
Method Details
-
byName
Deprecated. -
byName
Deprecated.
-