Class ModelBlockRenderer.AmbientOcclusionFace
java.lang.Object
net.minecraft.client.renderer.block.ModelBlockRenderer.AmbientOcclusionFace
- Enclosing class:
- ModelBlockRenderer
-
Field Summary
Modifier and TypeFieldDescription(package private) float[]
(package private) int[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
blend(int p_111154_, int p_111155_, int p_111156_, int p_111157_)
private int
blend(int p_111159_, int p_111160_, int p_111161_, int p_111162_, float p_111163_, float p_111164_, float p_111165_, float p_111166_)
void
calculate(BlockAndTintGetter p_111168_, BlockState p_111169_, BlockPos p_111170_, Direction p_111171_, float[] p_111172_, BitSet p_111173_, boolean p_111174_)
-
Field Details
-
brightness
final float[] brightness -
lightmap
final int[] lightmap
-
-
Constructor Details
-
AmbientOcclusionFace
public AmbientOcclusionFace()
-
-
Method Details
-
calculate
public void calculate(BlockAndTintGetter p_111168_, BlockState p_111169_, BlockPos p_111170_, Direction p_111171_, float[] p_111172_, BitSet p_111173_, boolean p_111174_) -
blend
private int blend(int p_111154_, int p_111155_, int p_111156_, int p_111157_) -
blend
private int blend(int p_111159_, int p_111160_, int p_111161_, int p_111162_, float p_111163_, float p_111164_, float p_111165_, float p_111166_)
-