public static enum WorldGenHelper.Direction extends java.lang.Enum<WorldGenHelper.Direction>
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.EnumFacing |
facing |
| Modifier and Type | Method and Description |
|---|---|
static WorldGenHelper.Direction |
getRandom(java.util.Random random) |
static WorldGenHelper.Direction |
getRandomOther(java.util.Random random,
WorldGenHelper.Direction direction) |
static WorldGenHelper.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WorldGenHelper.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldGenHelper.Direction NORTH
public static final WorldGenHelper.Direction SOUTH
public static final WorldGenHelper.Direction WEST
public static final WorldGenHelper.Direction EAST
public static WorldGenHelper.Direction[] values()
for (WorldGenHelper.Direction c : WorldGenHelper.Direction.values()) System.out.println(c);
public static WorldGenHelper.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 static WorldGenHelper.Direction getRandom(java.util.Random random)
public static WorldGenHelper.Direction getRandomOther(java.util.Random random, WorldGenHelper.Direction direction)