2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_3542 net/minecraft/util/StringIdentifiable
|
|
|
|
METHOD method_15434 asString ()Ljava/lang/String;
|
2020-07-08 13:36:16 -04:00
|
|
|
METHOD method_28140 createCodec (Ljava/util/function/Supplier;Ljava/util/function/Function;)Lcom/mojang/serialization/Codec;
|
|
|
|
COMMENT Creates a codec that serializes an enum implementing this interface either
|
2020-07-19 10:06:04 -04:00
|
|
|
COMMENT using its ordinals (when compressed) or using its {@link #asString()} method
|
2020-07-08 13:36:16 -04:00
|
|
|
COMMENT and a given decode function.
|
|
|
|
ARG 0 enumValues
|
|
|
|
ARG 1 fromString
|
2020-11-08 09:35:59 -05:00
|
|
|
METHOD method_28142 toKeyable ([Lnet/minecraft/class_3542;)Lcom/mojang/serialization/Keyable;
|
|
|
|
ARG 0 values
|
2020-07-08 13:36:16 -04:00
|
|
|
METHOD method_28143 ([Ljava/lang/Enum;I)Ljava/lang/Enum;
|
|
|
|
ARG 1 ordinal
|