public enum StructureRedstoneSaveMode extends 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(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(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 static StructureRedstoneSaveMode from(int id)
Copyright © 2018–2022 NukkitX. All rights reserved.