Package net.minecraft
Enum Class class_12195.class_12196
- All Implemented Interfaces:
Serializable,Comparable<class_12195.class_12196>,Constable,StringIdentifiable
- Enclosing class:
class_12195
public static enum class_12195.class_12196
extends Enum<class_12195.class_12196>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/class_12195$class_12196intermediary net/minecraft/class_12195$class_12196official cdu$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_12195.class_12196> 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.booleanmethod_75646(World world) static class_12195.class_12196Returns the enum constant of this class with the specified name.static class_12195.class_12196[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
- Mappings:
Namespace Name Mixin selector named ALWAYSLnet/minecraft/class_12195$class_12196;ALWAYS:Lnet/minecraft/class_12195$class_12196;intermediary field_63706Lnet/minecraft/class_12195$class_12196;field_63706:Lnet/minecraft/class_12195$class_12196;official aLcdu$a;a:Lcdu$a;
-
WHEN_DARK
- Mappings:
Namespace Name Mixin selector named WHEN_DARKLnet/minecraft/class_12195$class_12196;WHEN_DARK:Lnet/minecraft/class_12195$class_12196;intermediary field_63707Lnet/minecraft/class_12195$class_12196;field_63707:Lnet/minecraft/class_12195$class_12196;official bLcdu$a;b:Lcdu$a;
-
NEVER
- Mappings:
Namespace Name Mixin selector named NEVERLnet/minecraft/class_12195$class_12196;NEVER:Lnet/minecraft/class_12195$class_12196;intermediary field_63708Lnet/minecraft/class_12195$class_12196;field_63708:Lnet/minecraft/class_12195$class_12196;official cLcdu$a;c:Lcdu$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12195$class_12196;CODEC:Lcom/mojang/serialization/Codec;intermediary field_63709Lnet/minecraft/class_12195$class_12196;field_63709:Lcom/mojang/serialization/Codec;official dLcdu$a;d:Lcom/mojang/serialization/Codec;
-
field_63710
- Mappings:
Namespace Name Mixin selector named field_63710Lnet/minecraft/class_12195$class_12196;field_63710:Ljava/lang/String;intermediary field_63710Lnet/minecraft/class_12195$class_12196;field_63710:Ljava/lang/String;official eLcdu$a;e:Ljava/lang/String;
-
-
Constructor Details
-
class_12196
-
-
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
-
method_75646
- Mappings:
Namespace Name Mixin selector named method_75646Lnet/minecraft/class_12195$class_12196;method_75646(Lnet/minecraft/world/World;)Zintermediary method_75646Lnet/minecraft/class_12195$class_12196;method_75646(Lnet/minecraft/class_1937;)Zofficial aLcdu$a;a(Ldun;)Z
-
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;
-