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