public enum Rail extends Enum<Rail> implements Metadata
| Enum Constant and Description |
|---|
ASCENDING_EAST |
ASCENDING_NORTH |
ASCENDING_SOUTH |
ASCENDING_WEST |
CURVED_NORTH_EAST |
CURVED_NORTH_WEST |
CURVED_SOUTH_EAST |
CURVED_SOUTH_WEST |
EAST_WEST |
NORTH_SOUTH |
| Modifier and Type | Method and Description |
|---|---|
static Rail |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rail NORTH_SOUTH
public static final Rail EAST_WEST
public static final Rail ASCENDING_EAST
public static final Rail ASCENDING_WEST
public static final Rail ASCENDING_NORTH
public static final Rail ASCENDING_SOUTH
public static final Rail CURVED_SOUTH_EAST
public static final Rail CURVED_SOUTH_WEST
public static final Rail CURVED_NORTH_WEST
public static final Rail CURVED_NORTH_EAST
public static Rail[] values()
for (Rail c : Rail.values()) System.out.println(c);
public static Rail 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 © 2017–2020 NukkitX. All rights reserved.