Package net.minecraft.client.renderer
Enum BlockModelRenderer.VertexTranslations
- java.lang.Object
-
- java.lang.Enum<BlockModelRenderer.VertexTranslations>
-
- net.minecraft.client.renderer.BlockModelRenderer.VertexTranslations
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockModelRenderer.VertexTranslations>
- Enclosing class:
- BlockModelRenderer
static enum BlockModelRenderer.VertexTranslations extends java.lang.Enum<BlockModelRenderer.VertexTranslations>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
VertexTranslations(int p_i46234_3_, int p_i46234_4_, int p_i46234_5_, int p_i46234_6_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockModelRenderer.VertexTranslations
fromFacing(Direction p_178184_0_)
static BlockModelRenderer.VertexTranslations
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockModelRenderer.VertexTranslations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOWN
public static final BlockModelRenderer.VertexTranslations DOWN
-
UP
public static final BlockModelRenderer.VertexTranslations UP
-
NORTH
public static final BlockModelRenderer.VertexTranslations NORTH
-
SOUTH
public static final BlockModelRenderer.VertexTranslations SOUTH
-
WEST
public static final BlockModelRenderer.VertexTranslations WEST
-
EAST
public static final BlockModelRenderer.VertexTranslations EAST
-
-
Field Detail
-
vert0
private final int vert0
-
vert1
private final int vert1
-
vert2
private final int vert2
-
vert3
private final int vert3
-
BY_FACING
private static final BlockModelRenderer.VertexTranslations[] BY_FACING
-
-
Method Detail
-
values
public static BlockModelRenderer.VertexTranslations[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BlockModelRenderer.VertexTranslations c : BlockModelRenderer.VertexTranslations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BlockModelRenderer.VertexTranslations valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromFacing
public static BlockModelRenderer.VertexTranslations fromFacing(Direction p_178184_0_)
-
-