Enum BlockModelRenderer.NeighborOrientation
java.lang.Object
java.lang.Enum<BlockModelRenderer.NeighborOrientation>
net.minecraft.client.render.block.BlockModelRenderer.NeighborOrientation
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelRenderer.NeighborOrientation>
,java.lang.constant.Constable
- Enclosing class:
- BlockModelRenderer
@Environment(CLIENT) public static enum BlockModelRenderer.NeighborOrientation extends Enum<BlockModelRenderer.NeighborOrientation>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private int
shape
-
Constructor Summary
Constructors Modifier Constructor Description private
NeighborOrientation(Direction direction, boolean bool)
-
Method Summary
Modifier and Type Method Description static BlockModelRenderer.NeighborOrientation
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockModelRenderer.NeighborOrientation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DOWN
-
UP
-
NORTH
-
SOUTH
-
WEST
-
EAST
-
FLIP_DOWN
-
FLIP_UP
-
FLIP_NORTH
-
FLIP_SOUTH
-
FLIP_WEST
-
FLIP_EAST
-
-
Field Details
-
shape
private final int shape
-
-
Constructor Details
-
NeighborOrientation
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-