public static enum ChunkPaletteFormat.Direction extends java.lang.Enum<ChunkPaletteFormat.Direction>
Modifier and Type | Class and Description |
---|---|
static class |
ChunkPaletteFormat.Direction.Axis |
static class |
ChunkPaletteFormat.Direction.Offset |
Modifier and Type | Field and Description |
---|---|
private ChunkPaletteFormat.Direction.Axis |
axis |
private ChunkPaletteFormat.Direction.Offset |
axisDirection |
Modifier and Type | Method and Description |
---|---|
ChunkPaletteFormat.Direction.Axis |
getAxis() |
ChunkPaletteFormat.Direction.Offset |
getAxisDirection() |
static ChunkPaletteFormat.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChunkPaletteFormat.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkPaletteFormat.Direction DOWN
public static final ChunkPaletteFormat.Direction UP
public static final ChunkPaletteFormat.Direction NORTH
public static final ChunkPaletteFormat.Direction SOUTH
public static final ChunkPaletteFormat.Direction WEST
public static final ChunkPaletteFormat.Direction EAST
private final ChunkPaletteFormat.Direction.Axis axis
private final ChunkPaletteFormat.Direction.Offset axisDirection
public static ChunkPaletteFormat.Direction[] values()
for (ChunkPaletteFormat.Direction c : ChunkPaletteFormat.Direction.values()) System.out.println(c);
public static ChunkPaletteFormat.Direction 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 ChunkPaletteFormat.Direction.Offset getAxisDirection()
public ChunkPaletteFormat.Direction.Axis getAxis()