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 protected int
field_178229_m
-
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
-
-
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
-
-