@Environment(value=CLIENT) static enum ItemModelGenerator.Side extends Enum<ItemModelGenerator.Side>
Modifier and Type | Field and Description |
---|---|
private Direction |
direction |
private int |
offsetX |
private int |
offsetY |
Modifier and Type | Method and Description |
---|---|
Direction |
getDirection() |
int |
getOffsetX() |
int |
getOffsetY() |
private boolean |
isVertical() |
static ItemModelGenerator.Side |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemModelGenerator.Side[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemModelGenerator.Side UP
public static final ItemModelGenerator.Side DOWN
public static final ItemModelGenerator.Side LEFT
public static final ItemModelGenerator.Side RIGHT
private final Direction direction
private final int offsetX
private final int offsetY
public static ItemModelGenerator.Side[] values()
for (ItemModelGenerator.Side c : ItemModelGenerator.Side.values()) System.out.println(c);
public static ItemModelGenerator.Side 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 nullpublic Direction getDirection()
public int getOffsetX()
public int getOffsetY()
private boolean isVertical()