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