net.minecraft.client.renderer.block

public class ModelBlockRenderer

gmq
net.minecraft.client.renderer.block.ModelBlockRenderer
net.minecraft.class_778
net.minecraft.client.render.block.BlockModelRenderer

Field summary

Modifier and TypeField
private static final int
a
FACE_CUBIC
field_32782
field_32782
private static final int
b
FACE_PARTIAL
field_32783
field_32783
static final Direction[]
c
DIRECTIONS
field_27743
DIRECTIONS
private final BlockColors
d
blockColors
field_4178
colors
private static final int
e
CACHE_SIZE
field_32784
BRIGHTNESS_CACHE_MAX_SIZE
static final ThreadLocal<ModelBlockRenderer$Cache>
f
CACHE
field_4179
BRIGHTNESS_CACHE

Constructor summary

ModifierConstructor
public (BlockColors colors)

Method summary

Modifier and TypeMethod
public void
a(dgk arg0, hdn arg1, dxv arg2, jh arg3, fgs arg4, fgw arg5, boolean arg6, bam arg7, long arg8, int arg9)
tesselateBlock(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, RandomSource arg7, long arg8, int arg9)
method_3374(class_1920 arg0, class_1087 arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, class_5819 arg7, long arg8, int arg9)
render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
public void
b(dgk arg0, hdn arg1, dxv arg2, jh arg3, fgs arg4, fgw arg5, boolean arg6, bam arg7, long arg8, int arg9)
tesselateWithAO(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, RandomSource arg7, long arg8, int arg9)
method_3361(class_1920 arg0, class_1087 arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, class_5819 arg7, long arg8, int arg9)
renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
public void
c(dgk arg0, hdn arg1, dxv arg2, jh arg3, fgs arg4, fgw arg5, boolean arg6, bam arg7, long arg8, int arg9)
tesselateWithoutAO(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, RandomSource arg7, long arg8, int arg9)
method_3373(class_1920 arg0, class_1087 arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, class_5819 arg7, long arg8, int arg9)
renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long seed, int overlay)
private void
a(dgk arg0, dxv arg1, jh arg2, fgs arg3, fgw arg4, List<gms> arg5, float[] arg6, BitSet arg7, gmq$b arg8, int arg9)
renderModelFaceAO(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, PoseStack arg3, VertexConsumer arg4, List<BakedQuad> arg5, float[] arg6, BitSet arg7, ModelBlockRenderer$AmbientOcclusionFace arg8, int arg9)
method_3363(class_1920 arg0, class_2680 arg1, class_2338 arg2, class_4587 arg3, class_4588 arg4, List<class_777> arg5, float[] arg6, BitSet arg7, class_778$class_780 arg8, int arg9)
renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, float[] box, BitSet flags, BlockModelRenderer$AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay)
private void
a(dgk arg0, dxv arg1, jh arg2, fgw arg3, fgs$a arg4, gms arg5, float arg6, float arg7, float arg8, float arg9, int arg10, int arg11, int arg12, int arg13, int arg14)
putQuadData(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, VertexConsumer arg3, PoseStack$Pose arg4, BakedQuad arg5, float arg6, float arg7, float arg8, float arg9, int arg10, int arg11, int arg12, int arg13, int arg14)
method_23073(class_1920 arg0, class_2680 arg1, class_2338 arg2, class_4588 arg3, class_4587$class_4665 arg4, class_777 arg5, float arg6, float arg7, float arg8, float arg9, int arg10, int arg11, int arg12, int arg13, int arg14)
renderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack$Entry matrixEntry, BakedQuad quad, float brightness0, float brightness1, float brightness2, float brightness3, int light0, int light1, int light2, int light3, int overlay)
private void
a(dgk arg0, dxv arg1, jh arg2, int[] arg3, jm arg4, float[] arg5, BitSet arg6)
calculateShape(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, int[] arg3, Direction arg4, float[] arg5, BitSet arg6)
method_3364(class_1920 arg0, class_2680 arg1, class_2338 arg2, int[] arg3, class_2350 arg4, float[] arg5, BitSet arg6)
getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, float[] box, BitSet flags)
private void
a(dgk arg0, dxv arg1, jh arg2, int arg3, int arg4, boolean arg5, fgs arg6, fgw arg7, List<gms> arg8, BitSet arg9)
renderModelFaceFlat(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, int arg3, int arg4, boolean arg5, PoseStack arg6, VertexConsumer arg7, List<BakedQuad> arg8, BitSet arg9)
method_3370(class_1920 arg0, class_2680 arg1, class_2338 arg2, int arg3, int arg4, boolean arg5, class_4587 arg6, class_4588 arg7, List<class_777> arg8, BitSet arg9)
renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BitSet flags)
public void
a(fgs$a arg0, fgw arg1, dxv arg2, hdn arg3, float arg4, float arg5, float arg6, int arg7, int arg8)
renderModel(PoseStack$Pose arg0, VertexConsumer arg1, BlockState arg2, BakedModel arg3, float arg4, float arg5, float arg6, int arg7, int arg8)
method_3367(class_4587$class_4665 arg0, class_4588 arg1, class_2680 arg2, class_1087 arg3, float arg4, float arg5, float arg6, int arg7, int arg8)
render(MatrixStack$Entry entry, VertexConsumer vertexConsumer, BlockState state, BakedModel bakedModel, float red, float green, float blue, int light, int overlay)
private static void
a(fgs$a arg0, fgw arg1, float arg2, float arg3, float arg4, List<gms> arg5, int arg6, int arg7)
renderQuadList(PoseStack$Pose arg0, VertexConsumer arg1, float arg2, float arg3, float arg4, List<BakedQuad> arg5, int arg6, int arg7)
method_3365(class_4587$class_4665 arg0, class_4588 arg1, float arg2, float arg3, float arg4, List<class_777> arg5, int arg6, int arg7)
renderQuads(MatrixStack$Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay)
public static void
a()
enableCaching()
method_20544()
enableBrightnessCache()
public static void
b()
clearCache()
method_20545()
disableBrightnessCache()