Class StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
java.lang.Object
net.minecraft.util.StringRepresentable.StringRepresentableCodec<E>
net.minecraft.util.StringRepresentable.EnumCodec<E>
- Enclosing interface:
StringRepresentable
public static class StringRepresentable.EnumCodec<E extends Enum<E> & StringRepresentable>
extends StringRepresentable.StringRepresentableCodec<E>
-
Nested Class Summary
Nested classes/interfaces inherited from interface Codec
Codec.RecursiveCodec<T>, Codec.ResultFunction<A>Nested classes/interfaces inherited from interface Decoder
Decoder.Boxed<A>, Decoder.Simple<A>, Decoder.Terminal<A> -
Field Summary
FieldsFields inherited from interface Codec
BOOL, BYTE, BYTE_BUFFER, DOUBLE, EMPTY, FLOAT, INT, INT_STREAM, LONG, LONG_STREAM, PASSTHROUGH, SHORT, STRING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class StringRepresentable.StringRepresentableCodec
decode, encodeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Codec
comapFlatMap, deprecated, dispatch, dispatch, dispatchMap, dispatchMap, dispatchStable, fieldOf, flatComapMap, flatXmap, lenientOptionalFieldOf, lenientOptionalFieldOf, lenientOptionalFieldOf, lenientOptionalFieldOf, listOf, listOf, mapResult, optionalFieldOf, optionalFieldOf, optionalFieldOf, optionalFieldOf, orElse, orElse, orElse, orElseGet, orElseGet, orElseGet, partialDispatch, promotePartial, sizeLimitedListOf, stable, validate, withAlternative, withAlternative, withLifecycle, xmapMethods inherited from interface Decoder
boxed, decode, flatMap, map, parse, parse, simple, terminalMethods inherited from interface Encoder
comap, encodeStart, flatComap
-
Field Details
-
resolver
-
-
Constructor Details
-
EnumCodec
-
-
Method Details
-
byName
-
byName
-
byName
-