Package net.minecraft.world
Enum Class MoonPhase
- All Implemented Interfaces:
Serializable,Comparable<MoonPhase>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/world/MoonPhaseintermediary net/minecraft/class_12131official duy
-
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 ConstantsEnum ConstantDescription -
Field Summary
FieldsFields 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.intgetIndex()static MoonPhaseReturns the enum constant of this class with the specified name.static MoonPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL_MOON
- Mappings:
Namespace Name Mixin selector named FULL_MOONLnet/minecraft/world/MoonPhase;FULL_MOON:Lnet/minecraft/world/MoonPhase;intermediary field_63425Lnet/minecraft/class_12131;field_63425:Lnet/minecraft/class_12131;official aLduy;a:Lduy;
-
WANING_GIBBOUS
- Mappings:
Namespace Name Mixin selector named WANING_GIBBOUSLnet/minecraft/world/MoonPhase;WANING_GIBBOUS:Lnet/minecraft/world/MoonPhase;intermediary field_63426Lnet/minecraft/class_12131;field_63426:Lnet/minecraft/class_12131;official bLduy;b:Lduy;
-
THIRD_QUARTER
- Mappings:
Namespace Name Mixin selector named THIRD_QUARTERLnet/minecraft/world/MoonPhase;THIRD_QUARTER:Lnet/minecraft/world/MoonPhase;intermediary field_63427Lnet/minecraft/class_12131;field_63427:Lnet/minecraft/class_12131;official cLduy;c:Lduy;
-
WANING_CRESCENT
- Mappings:
Namespace Name Mixin selector named WANING_CRESCENTLnet/minecraft/world/MoonPhase;WANING_CRESCENT:Lnet/minecraft/world/MoonPhase;intermediary field_63428Lnet/minecraft/class_12131;field_63428:Lnet/minecraft/class_12131;official dLduy;d:Lduy;
-
NEW_MOON
- Mappings:
Namespace Name Mixin selector named NEW_MOONLnet/minecraft/world/MoonPhase;NEW_MOON:Lnet/minecraft/world/MoonPhase;intermediary field_63429Lnet/minecraft/class_12131;field_63429:Lnet/minecraft/class_12131;official eLduy;e:Lduy;
-
WAXING_CRESCENT
- Mappings:
Namespace Name Mixin selector named WAXING_CRESCENTLnet/minecraft/world/MoonPhase;WAXING_CRESCENT:Lnet/minecraft/world/MoonPhase;intermediary field_63430Lnet/minecraft/class_12131;field_63430:Lnet/minecraft/class_12131;official fLduy;f:Lduy;
-
FIRST_QUARTER
- Mappings:
Namespace Name Mixin selector named FIRST_QUARTERLnet/minecraft/world/MoonPhase;FIRST_QUARTER:Lnet/minecraft/world/MoonPhase;intermediary field_63431Lnet/minecraft/class_12131;field_63431:Lnet/minecraft/class_12131;official gLduy;g:Lduy;
-
WAXING_GIBBOUS
- Mappings:
Namespace Name Mixin selector named WAXING_GIBBOUSLnet/minecraft/world/MoonPhase;WAXING_GIBBOUS:Lnet/minecraft/world/MoonPhase;intermediary field_63432Lnet/minecraft/class_12131;field_63432:Lnet/minecraft/class_12131;official hLduy;h:Lduy;
-
-
Field Details
-
COUNT
public static final int COUNT- Mappings:
Namespace Name Mixin selector named COUNTLnet/minecraft/world/MoonPhase;COUNT:Iintermediary field_63433Lnet/minecraft/class_12131;field_63433:Iofficial iLduy;i:I
-
index
private final int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/world/MoonPhase;index:Iintermediary field_63434Lnet/minecraft/class_12131;field_63434:Iofficial jLduy;j:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/world/MoonPhase;name:Ljava/lang/String;intermediary field_63435Lnet/minecraft/class_12131;field_63435:Ljava/lang/String;official kLduy;k:Ljava/lang/String;
-
-
Constructor Details
-
MoonPhase
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/world/MoonPhase;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_12131;<init>(Ljava/lang/String;IILjava/lang/String;)Vofficial <init>Lduy;<init>(Ljava/lang/String;IILjava/lang/String;)V
-
-
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
-
getIndex
public int getIndex()- Mappings:
Namespace Name Mixin selector named getIndexLnet/minecraft/world/MoonPhase;getIndex()Iintermediary method_75261Lnet/minecraft/class_12131;method_75261()Iofficial aLduy;a()I
-
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;
-