Package net.minecraft
Enum Class class_12319.class_12320
- All Implemented Interfaces:
Serializable,Comparable<class_12319.class_12320>,Constable,StringIdentifiable
- Enclosing class:
class_12319
public static enum class_12319.class_12320
extends Enum<class_12319.class_12320>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/class_12319$class_12320intermediary net/minecraft/class_12319$class_12320official cus$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_12319.class_12320> private final StringFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static class_12319.class_12320Returns the enum constant of this class with the specified name.static class_12319.class_12320[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMALLnet/minecraft/class_12319$class_12320;NORMAL:Lnet/minecraft/class_12319$class_12320;intermediary field_64365Lnet/minecraft/class_12319$class_12320;field_64365:Lnet/minecraft/class_12319$class_12320;official aLcus$a;a:Lcus$a;
-
WARM
- Mappings:
Namespace Name Mixin selector named WARMLnet/minecraft/class_12319$class_12320;WARM:Lnet/minecraft/class_12319$class_12320;intermediary field_64366Lnet/minecraft/class_12319$class_12320;field_64366:Lnet/minecraft/class_12319$class_12320;official bLcus$a;b:Lcus$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12319$class_12320;CODEC:Lcom/mojang/serialization/Codec;intermediary field_64367Lnet/minecraft/class_12319$class_12320;field_64367:Lcom/mojang/serialization/Codec;official cLcus$a;c:Lcom/mojang/serialization/Codec;
-
field_64368
- Mappings:
Namespace Name Mixin selector named field_64368Lnet/minecraft/class_12319$class_12320;field_64368:Ljava/lang/String;intermediary field_64368Lnet/minecraft/class_12319$class_12320;field_64368:Ljava/lang/String;official dLcus$a;d:Ljava/lang/String;
-
-
Constructor Details
-
class_12320
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbhg;c()Ljava/lang/String;
-