static enum ItemModelGenerator.SpanFacing extends java.lang.Enum<ItemModelGenerator.SpanFacing>
Modifier and Type | Field and Description |
---|---|
private EnumFacing |
facing |
private int |
xOffset |
private int |
yOffset |
Modifier and Type | Method and Description |
---|---|
EnumFacing |
getFacing() |
int |
getXOffset() |
int |
getYOffset() |
private boolean |
isHorizontal() |
static ItemModelGenerator.SpanFacing |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemModelGenerator.SpanFacing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemModelGenerator.SpanFacing UP
public static final ItemModelGenerator.SpanFacing DOWN
public static final ItemModelGenerator.SpanFacing LEFT
public static final ItemModelGenerator.SpanFacing RIGHT
private final EnumFacing facing
private final int xOffset
private final int yOffset
public static ItemModelGenerator.SpanFacing[] values()
for (ItemModelGenerator.SpanFacing c : ItemModelGenerator.SpanFacing.values()) System.out.println(c);
public static ItemModelGenerator.SpanFacing 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 EnumFacing getFacing()
public int getXOffset()
public int getYOffset()
private boolean isHorizontal()