public static enum MineshaftFeature.Type extends Enum<MineshaftFeature.Type> implements StringIdentifiable
| Modifier and Type | Field and Description |
|---|---|
static com.mojang.serialization.Codec<MineshaftFeature.Type> |
field_24839 |
private String |
name |
private static Map<String,MineshaftFeature.Type> |
nameMap |
| Modifier and Type | Method and Description |
|---|---|
String |
asString() |
static MineshaftFeature.Type |
byIndex(int index) |
private static MineshaftFeature.Type |
byName(String nam) |
String |
getName() |
static MineshaftFeature.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MineshaftFeature.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfmethod_28140, method_28141, method_28142public static final MineshaftFeature.Type NORMAL
public static final MineshaftFeature.Type MESA
public static final com.mojang.serialization.Codec<MineshaftFeature.Type> field_24839
private static final Map<String,MineshaftFeature.Type> nameMap
private final String name
public static MineshaftFeature.Type[] values()
for (MineshaftFeature.Type c : MineshaftFeature.Type.values()) System.out.println(c);
public static MineshaftFeature.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
private static MineshaftFeature.Type byName(String nam)
public static MineshaftFeature.Type byIndex(int index)
public String asString()
asString in interface StringIdentifiable