public static enum BlockModelRenderer.NeighborInfo extends java.lang.Enum<BlockModelRenderer.NeighborInfo>
Modifier and Type | Field and Description |
---|---|
private Direction[] |
corners |
private boolean |
doNonCubicWeight |
private static BlockModelRenderer.NeighborInfo[] |
VALUES |
private BlockModelRenderer.Orientation[] |
vert0Weights |
private BlockModelRenderer.Orientation[] |
vert1Weights |
private BlockModelRenderer.Orientation[] |
vert2Weights |
private BlockModelRenderer.Orientation[] |
vert3Weights |
Modifier and Type | Method and Description |
---|---|
static BlockModelRenderer.NeighborInfo |
getNeighbourInfo(Direction facing) |
static BlockModelRenderer.NeighborInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockModelRenderer.NeighborInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockModelRenderer.NeighborInfo DOWN
public static final BlockModelRenderer.NeighborInfo UP
public static final BlockModelRenderer.NeighborInfo NORTH
public static final BlockModelRenderer.NeighborInfo SOUTH
public static final BlockModelRenderer.NeighborInfo WEST
public static final BlockModelRenderer.NeighborInfo EAST
private final Direction[] corners
private final boolean doNonCubicWeight
private final BlockModelRenderer.Orientation[] vert0Weights
private final BlockModelRenderer.Orientation[] vert1Weights
private final BlockModelRenderer.Orientation[] vert2Weights
private final BlockModelRenderer.Orientation[] vert3Weights
private static final BlockModelRenderer.NeighborInfo[] VALUES
public static BlockModelRenderer.NeighborInfo[] values()
for (BlockModelRenderer.NeighborInfo c : BlockModelRenderer.NeighborInfo.values()) System.out.println(c);
public static BlockModelRenderer.NeighborInfo 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 BlockModelRenderer.NeighborInfo getNeighbourInfo(Direction facing)