public enum EnumDawnDuskOre extends java.lang.Enum<EnumDawnDuskOre> implements net.minecraft.util.IStringSerializable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSerializedName() |
static EnumDawnDuskOre |
getValue(int index)
Gets a content enum from its enum index.
|
static EnumDawnDuskOre |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumDawnDuskOre[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumDawnDuskOre dawn
public static final EnumDawnDuskOre dusk
public static final EnumDawnDuskOre none
public static EnumDawnDuskOre[] values()
for (EnumDawnDuskOre c : EnumDawnDuskOre.values()) System.out.println(c);
public static EnumDawnDuskOre valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EnumDawnDuskOre getValue(int index)
index
- The index of the enum.public java.lang.String getSerializedName()
getSerializedName
in interface net.minecraft.util.IStringSerializable