public static enum MapGenMineshaft.Type extends java.lang.Enum<MapGenMineshaft.Type>
Modifier and Type | Method and Description |
---|---|
static MapGenMineshaft.Type |
byId(int id) |
static MapGenMineshaft.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapGenMineshaft.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapGenMineshaft.Type NORMAL
public static final MapGenMineshaft.Type MESA
public static MapGenMineshaft.Type[] values()
for (MapGenMineshaft.Type c : MapGenMineshaft.Type.values()) System.out.println(c);
public static MapGenMineshaft.Type 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 MapGenMineshaft.Type byId(int id)