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