@Environment(value=CLIENT) static enum BlockModelRenderer.Translation extends Enum<BlockModelRenderer.Translation>
Modifier and Type | Field and Description |
---|---|
private int |
firstCorner |
private int |
fourthCorner |
private int |
secondCorner |
private int |
thirdCorner |
private static BlockModelRenderer.Translation[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static BlockModelRenderer.Translation |
getTranslations(Direction direction) |
static BlockModelRenderer.Translation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockModelRenderer.Translation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockModelRenderer.Translation DOWN
public static final BlockModelRenderer.Translation UP
public static final BlockModelRenderer.Translation NORTH
public static final BlockModelRenderer.Translation SOUTH
public static final BlockModelRenderer.Translation WEST
public static final BlockModelRenderer.Translation EAST
private static final BlockModelRenderer.Translation[] VALUES
private final int firstCorner
private final int secondCorner
private final int thirdCorner
private final int fourthCorner
public static BlockModelRenderer.Translation[] values()
for (BlockModelRenderer.Translation c : BlockModelRenderer.Translation.values()) System.out.println(c);
public static BlockModelRenderer.Translation 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 static BlockModelRenderer.Translation getTranslations(Direction direction)