public enum AEPartLocation extends java.lang.Enum<AEPartLocation>
| Enum Constant and Description |
|---|
DOWN
Negative Y
|
EAST
Posative X
|
INTERNAL
Center or inside of the block.
|
NORTH
Negative Z
|
SOUTH
Positive Z
|
UP
Positive Y
|
WEST
Negative X
|
| Modifier and Type | Field and Description |
|---|---|
static AEPartLocation[] |
SIDE_LOCATIONS |
int |
xOffset |
int |
yOffset |
int |
zOffset |
| Modifier and Type | Method and Description |
|---|---|
static AEPartLocation |
fromFacing(net.minecraft.util.EnumFacing side)
100% chance of success.
|
static AEPartLocation |
fromOrdinal(int id) |
net.minecraft.util.EnumFacing |
getFacing() |
AEPartLocation |
getOpposite() |
static AEPartLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AEPartLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AEPartLocation DOWN
public static final AEPartLocation UP
public static final AEPartLocation NORTH
public static final AEPartLocation SOUTH
public static final AEPartLocation WEST
public static final AEPartLocation EAST
public static final AEPartLocation INTERNAL
public final int xOffset
public final int yOffset
public final int zOffset
public static final AEPartLocation[] SIDE_LOCATIONS
public static AEPartLocation[] values()
for (AEPartLocation c : AEPartLocation.values()) System.out.println(c);
public static AEPartLocation 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 AEPartLocation fromOrdinal(int id)
public static AEPartLocation fromFacing(net.minecraft.util.EnumFacing side)
side - public AEPartLocation getOpposite()
public net.minecraft.util.EnumFacing getFacing()