@Environment(value=CLIENT) class BlockModelRenderer.AmbientOcclusionCalculator extends Object
Modifier and Type | Field and Description |
---|---|
private float[] |
brightness |
private int[] |
light |
Constructor and Description |
---|
AmbientOcclusionCalculator() |
Modifier and Type | Method and Description |
---|---|
void |
apply(BlockRenderView world,
BlockState state,
BlockPos pos,
Direction direction,
float[] box,
BitSet flags,
boolean bool) |
private int |
getAmbientOcclusionBrightness(int int2,
int int3,
int int4,
int int5) |
private int |
getBrightness(int int2,
int int3,
int int4,
int int5,
float float2,
float float3,
float float4,
float float5) |
public void apply(BlockRenderView world, BlockState state, BlockPos pos, Direction direction, float[] box, BitSet flags, boolean bool)
private int getAmbientOcclusionBrightness(int int2, int int3, int int4, int int5)
private int getBrightness(int int2, int int3, int int4, int int5, float float2, float float3, float float4, float float5)