public static enum GenerationStep.Feature extends Enum<GenerationStep.Feature>
Enum Constant and Description |
---|
LOCAL_MODIFICATIONS |
RAW_GENERATION |
SURFACE_STRUCTURES |
TOP_LAYER_MODIFICATION |
UNDERGROUND_DECORATION |
UNDERGROUND_ORES |
UNDERGROUND_STRUCTURES |
VEGETAL_DECORATION |
Modifier and Type | Field and Description |
---|---|
private static Map<String,GenerationStep.Feature> |
BY_NAME |
private String |
name |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static GenerationStep.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenerationStep.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerationStep.Feature RAW_GENERATION
public static final GenerationStep.Feature LOCAL_MODIFICATIONS
public static final GenerationStep.Feature UNDERGROUND_STRUCTURES
public static final GenerationStep.Feature SURFACE_STRUCTURES
public static final GenerationStep.Feature UNDERGROUND_ORES
public static final GenerationStep.Feature UNDERGROUND_DECORATION
public static final GenerationStep.Feature VEGETAL_DECORATION
public static final GenerationStep.Feature TOP_LAYER_MODIFICATION
private static final Map<String,GenerationStep.Feature> BY_NAME
private final String name
public static GenerationStep.Feature[] values()
for (GenerationStep.Feature c : GenerationStep.Feature.values()) System.out.println(c);
public static GenerationStep.Feature 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()