class BlockModelRenderer.AmbientOcclusionFace
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int[] |
vertexBrightness |
private float[] |
vertexColorMultiplier |
Constructor and Description |
---|
AmbientOcclusionFace() |
Modifier and Type | Method and Description |
---|---|
private int |
getAoBrightness(int br1,
int br2,
int br3,
int br4) |
private int |
getVertexBrightness(int p_178203_1_,
int p_178203_2_,
int p_178203_3_,
int p_178203_4_,
float p_178203_5_,
float p_178203_6_,
float p_178203_7_,
float p_178203_8_) |
void |
updateVertexBrightness(IBlockAccess worldIn,
IBlockState state,
BlockPos centerPos,
EnumFacing direction,
float[] faceShape,
java.util.BitSet shapeState) |
private final float[] vertexColorMultiplier
private final int[] vertexBrightness
public void updateVertexBrightness(IBlockAccess worldIn, IBlockState state, BlockPos centerPos, EnumFacing direction, float[] faceShape, java.util.BitSet shapeState)
private int getAoBrightness(int br1, int br2, int br3, int br4)
private int getVertexBrightness(int p_178203_1_, int p_178203_2_, int p_178203_3_, int p_178203_4_, float p_178203_5_, float p_178203_6_, float p_178203_7_, float p_178203_8_)