Enum BlockModelRenderer.NeighborData
java.lang.Object
java.lang.Enum<BlockModelRenderer.NeighborData>
net.minecraft.client.render.block.BlockModelRenderer.NeighborData
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelRenderer.NeighborData>
,java.lang.constant.Constable
- Enclosing class:
- BlockModelRenderer
@Environment(CLIENT) public static enum BlockModelRenderer.NeighborData extends Enum<BlockModelRenderer.NeighborData>
-
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 Direction[]
faces
private BlockModelRenderer.NeighborOrientation[]
field_4180
private BlockModelRenderer.NeighborOrientation[]
field_4185
private BlockModelRenderer.NeighborOrientation[]
field_4188
private static BlockModelRenderer.NeighborData[]
field_4190
private BlockModelRenderer.NeighborOrientation[]
field_4192
private boolean
nonCubicWeight
-
Constructor Summary
Constructors Modifier Constructor Description private
NeighborData(Direction[] direction, float float2, boolean bool, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4)
-
Method Summary
Modifier and Type Method Description static BlockModelRenderer.NeighborData
getData(Direction direction)
static BlockModelRenderer.NeighborData
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockModelRenderer.NeighborData[]
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
-
-
Field Details
-
field_4190
-
faces
-
nonCubicWeight
private final boolean nonCubicWeight -
field_4192
-
field_4185
-
field_4180
-
field_4188
-
-
Constructor Details
-
NeighborData
private NeighborData(Direction[] direction, float float2, boolean bool, BlockModelRenderer.NeighborOrientation[] neighborOrientation, BlockModelRenderer.NeighborOrientation[] neighborOrientation2, BlockModelRenderer.NeighborOrientation[] neighborOrientation3, BlockModelRenderer.NeighborOrientation[] neighborOrientation4)
-
-
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
-
getData
-