| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
id |
| Modifier and Type | Method and Description |
|---|---|
static OreType |
fromId(java.lang.String id) |
static OreType |
fromIdOrElse(java.lang.String id,
OreType alternate) |
static OreType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OreType DEFAULT
public static final OreType CLASSIC
public static final OreType VANILLA
public static OreType[] values()
for (OreType c : OreType.values()) System.out.println(c);
public static OreType 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 OreType fromId(java.lang.String id)