Package net.minecraft.client.renderer
Enum BlockModelRenderer.Orientation
- java.lang.Object
-
- java.lang.Enum<BlockModelRenderer.Orientation>
-
- net.minecraft.client.renderer.BlockModelRenderer.Orientation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockModelRenderer.Orientation>
- Enclosing class:
- BlockModelRenderer
public static enum BlockModelRenderer.Orientation extends java.lang.Enum<BlockModelRenderer.Orientation>
-
-
Field Summary
Fields Modifier and Type Field Description private int
shape
-
Constructor Summary
Constructors Modifier Constructor Description private
Orientation(Direction p_i46233_3_, boolean p_i46233_4_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockModelRenderer.Orientation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockModelRenderer.Orientation[]
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.Orientation DOWN
-
UP
public static final BlockModelRenderer.Orientation UP
-
NORTH
public static final BlockModelRenderer.Orientation NORTH
-
SOUTH
public static final BlockModelRenderer.Orientation SOUTH
-
WEST
public static final BlockModelRenderer.Orientation WEST
-
EAST
public static final BlockModelRenderer.Orientation EAST
-
FLIP_DOWN
public static final BlockModelRenderer.Orientation FLIP_DOWN
-
FLIP_UP
public static final BlockModelRenderer.Orientation FLIP_UP
-
FLIP_NORTH
public static final BlockModelRenderer.Orientation FLIP_NORTH
-
FLIP_SOUTH
public static final BlockModelRenderer.Orientation FLIP_SOUTH
-
FLIP_WEST
public static final BlockModelRenderer.Orientation FLIP_WEST
-
FLIP_EAST
public static final BlockModelRenderer.Orientation FLIP_EAST
-
-
Constructor Detail
-
Orientation
private Orientation(Direction p_i46233_3_, boolean p_i46233_4_)
-
-
Method Detail
-
values
public static BlockModelRenderer.Orientation[] 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.Orientation c : BlockModelRenderer.Orientation.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.Orientation 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
-
-