Package net.minecraft.client.renderer
Enum BlockModelRenderer.NeighborInfo
- java.lang.Object
-
- java.lang.Enum<BlockModelRenderer.NeighborInfo>
-
- net.minecraft.client.renderer.BlockModelRenderer.NeighborInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BlockModelRenderer.NeighborInfo>
- Enclosing class:
- BlockModelRenderer
public static enum BlockModelRenderer.NeighborInfo extends java.lang.Enum<BlockModelRenderer.NeighborInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private static BlockModelRenderer.NeighborInfo[]
BY_FACING
private Direction[]
corners
private boolean
doNonCubicWeight
private BlockModelRenderer.Orientation[]
vert0Weights
private BlockModelRenderer.Orientation[]
vert1Weights
private BlockModelRenderer.Orientation[]
vert2Weights
private BlockModelRenderer.Orientation[]
vert3Weights
-
Constructor Summary
Constructors Modifier Constructor Description 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BlockModelRenderer.NeighborInfo
fromFacing(Direction p_178273_0_)
static BlockModelRenderer.NeighborInfo
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BlockModelRenderer.NeighborInfo[]
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.NeighborInfo DOWN
-
UP
public static final BlockModelRenderer.NeighborInfo UP
-
NORTH
public static final BlockModelRenderer.NeighborInfo NORTH
-
SOUTH
public static final BlockModelRenderer.NeighborInfo SOUTH
-
WEST
public static final BlockModelRenderer.NeighborInfo WEST
-
EAST
public static final BlockModelRenderer.NeighborInfo EAST
-
-
Field Detail
-
corners
private final Direction[] corners
-
doNonCubicWeight
private final boolean doNonCubicWeight
-
vert0Weights
private final BlockModelRenderer.Orientation[] vert0Weights
-
vert1Weights
private final BlockModelRenderer.Orientation[] vert1Weights
-
vert2Weights
private final BlockModelRenderer.Orientation[] vert2Weights
-
vert3Weights
private final BlockModelRenderer.Orientation[] vert3Weights
-
BY_FACING
private static final BlockModelRenderer.NeighborInfo[] BY_FACING
-
-
Constructor Detail
-
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 Detail
-
values
public static BlockModelRenderer.NeighborInfo[] 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.NeighborInfo c : BlockModelRenderer.NeighborInfo.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.NeighborInfo 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
-
fromFacing
public static BlockModelRenderer.NeighborInfo fromFacing(Direction p_178273_0_)
-
-