public enum StructureBlockMode extends Enum<StructureBlockMode> implements StringIdentifiable
Modifier and Type | Field and Description |
---|---|
private Text |
field_26444 |
private String |
name |
Modifier and Type | Method and Description |
---|---|
String |
asString() |
Text |
method_30844() |
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
createCodec, createCodec, method_28142
public static final StructureBlockMode SAVE
public static final StructureBlockMode LOAD
public static final StructureBlockMode CORNER
public static final StructureBlockMode DATA
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
@Environment(value=CLIENT) public Text method_30844()