Package net.minecraft.client.renderer
Enum Class BlockModelRenderer.VertexTranslations
java.lang.Object
java.lang.Enum<BlockModelRenderer.VertexTranslations>
net.minecraft.client.renderer.BlockModelRenderer.VertexTranslations
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelRenderer.VertexTranslations>
,Constable
- Enclosing class:
- BlockModelRenderer
static enum BlockModelRenderer.VertexTranslations
extends Enum<BlockModelRenderer.VertexTranslations>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
VertexTranslations
(int p_i46234_3_, int p_i46234_4_, int p_i46234_5_, int p_i46234_6_) -
Method Summary
Modifier and TypeMethodDescriptionfromFacing
(Direction p_178184_0_) Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOWN
-
UP
-
NORTH
-
SOUTH
-
WEST
-
EAST
-
-
Field Details
-
vert0
private final int vert0 -
vert1
private final int vert1 -
vert2
private final int vert2 -
vert3
private final int vert3 -
BY_FACING
-
-
Constructor Details
-
VertexTranslations
private VertexTranslations(int p_i46234_3_, int p_i46234_4_, int p_i46234_5_, int p_i46234_6_)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromFacing
-