public enum StructureBlockMode extends Enum<StructureBlockMode> implements StringIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
asString() |
static StructureBlockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructureBlockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureBlockMode SAVE
public static final StructureBlockMode LOAD
public static final StructureBlockMode CORNER
public static final StructureBlockMode DATA
private final String name
public static StructureBlockMode[] values()
for (StructureBlockMode c : StructureBlockMode.values()) System.out.println(c);
public static StructureBlockMode 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 asString()
asString
in interface StringIdentifiable