public enum StructureBlockType extends Enum<StructureBlockType>
| Enum Constant and Description |
|---|
CORNER |
DATA |
EXPORT |
INVALID |
LOAD |
SAVE |
| Modifier and Type | Method and Description |
|---|---|
static StructureBlockType |
from(int id) |
static StructureBlockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructureBlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureBlockType DATA
public static final StructureBlockType SAVE
public static final StructureBlockType LOAD
public static final StructureBlockType CORNER
public static final StructureBlockType INVALID
public static final StructureBlockType EXPORT
public static StructureBlockType[] values()
for (StructureBlockType c : StructureBlockType.values()) System.out.println(c);
public static StructureBlockType 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 StructureBlockType from(int id)
Copyright © 2018–2022 NukkitX. All rights reserved.