public static enum StructureBlock.Mode extends Enum<StructureBlock.Mode>
| Enum Constant and Description | 
|---|
CORNER
Used for detection of two opposite corners of a structure. 
 | 
DATA
Dummy block used to run a custom function during world generation
 before being removed. 
 | 
LOAD
Allows loading of a structure. 
 | 
SAVE
Allows selection and saving of a structure. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static StructureBlock.Mode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static StructureBlock.Mode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final StructureBlock.Mode SAVE
public static final StructureBlock.Mode LOAD
public static final StructureBlock.Mode CORNER
public static final StructureBlock.Mode DATA
public static StructureBlock.Mode[] values()
for (StructureBlock.Mode c : StructureBlock.Mode.values()) System.out.println(c);
public static StructureBlock.Mode 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 nullCopyright © 2021. All rights reserved.