Package net.minecraft.client.renderer
Enum Class BlockModelRenderer.NeighborInfo
java.lang.Object
java.lang.Enum<BlockModelRenderer.NeighborInfo>
net.minecraft.client.renderer.BlockModelRenderer.NeighborInfo
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelRenderer.NeighborInfo>
,Constable
- Enclosing class:
- BlockModelRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final BlockModelRenderer.NeighborInfo[]
private final Direction[]
private final boolean
private final BlockModelRenderer.Orientation[]
private final BlockModelRenderer.Orientation[]
private final BlockModelRenderer.Orientation[]
private final BlockModelRenderer.Orientation[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
NeighborInfo
(Direction[] p_i46236_3_, float p_i46236_4_, boolean p_i46236_5_, BlockModelRenderer.Orientation[] p_i46236_6_, BlockModelRenderer.Orientation[] p_i46236_7_, BlockModelRenderer.Orientation[] p_i46236_8_, BlockModelRenderer.Orientation[] p_i46236_9_) -
Method Summary
Modifier and TypeMethodDescriptionfromFacing
(Direction p_178273_0_) Returns the enum constant of this class with the specified name.static BlockModelRenderer.NeighborInfo[]
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
-
corners
-
doNonCubicWeight
private final boolean doNonCubicWeight -
vert0Weights
-
vert1Weights
-
vert2Weights
-
vert3Weights
-
BY_FACING
-
-
Constructor Details
-
NeighborInfo
private NeighborInfo(Direction[] p_i46236_3_, float p_i46236_4_, boolean p_i46236_5_, BlockModelRenderer.Orientation[] p_i46236_6_, BlockModelRenderer.Orientation[] p_i46236_7_, BlockModelRenderer.Orientation[] p_i46236_8_, BlockModelRenderer.Orientation[] p_i46236_9_)
-
-
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
-