public static enum Rail.Shape extends java.lang.Enum<Rail.Shape>
枚举常量和说明 |
---|
ASCENDING_EAST
The rail ascends in the east (positive X) direction.
|
ASCENDING_NORTH
The rail ascends in the north (negative Z) direction.
|
ASCENDING_SOUTH
The rail ascends in the south (positive Z) direction.
|
ASCENDING_WEST
The rail ascends in the west (negative X) direction.
|
EAST_WEST
The rail runs flat along the east/west (X) axis.
|
NORTH_EAST
The rail forms a curve connecting the north and east faces of the
block.
|
NORTH_SOUTH
The rail runs flat along the north/south (Z) axis.
|
NORTH_WEST
The rail forms a curve connecting the north and west faces of the
block.
|
SOUTH_EAST
The rail forms a curve connecting the south and east faces of the
block.
|
SOUTH_WEST
The rail forms a curve connecting the south and west faces of the
block.
|
限定符和类型 | 方法和说明 |
---|---|
static Rail.Shape |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Rail.Shape[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Rail.Shape NORTH_SOUTH
public static final Rail.Shape EAST_WEST
public static final Rail.Shape ASCENDING_EAST
public static final Rail.Shape ASCENDING_WEST
public static final Rail.Shape ASCENDING_NORTH
public static final Rail.Shape ASCENDING_SOUTH
public static final Rail.Shape SOUTH_EAST
public static final Rail.Shape SOUTH_WEST
public static final Rail.Shape NORTH_WEST
public static final Rail.Shape NORTH_EAST
public static Rail.Shape[] values()
for (Rail.Shape c : Rail.Shape.values()) System.out.println(c);
public static Rail.Shape valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值