public enum StructureRedstoneSaveMode extends java.lang.Enum<StructureRedstoneSaveMode>
| Enum Constant and Description |
|---|
SAVES_TO_DISK |
SAVES_TO_MEMORY |
| Modifier and Type | Method and Description |
|---|---|
static StructureRedstoneSaveMode |
from(int id) |
static StructureRedstoneSaveMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StructureRedstoneSaveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureRedstoneSaveMode SAVES_TO_MEMORY
public static final StructureRedstoneSaveMode SAVES_TO_DISK
public static StructureRedstoneSaveMode[] values()
for (StructureRedstoneSaveMode c : StructureRedstoneSaveMode.values()) System.out.println(c);
public static StructureRedstoneSaveMode 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 static StructureRedstoneSaveMode from(int id)