net.minecraft.client.renderer.block

public class ModelBlockRenderer

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

Field summary

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

Constructor summary

ModifierConstructor
public (BlockColors colors)

Method summary

Modifier and TypeMethod
public void
a(dmp arg0, List<hbu> arg1, efg arg2, jb arg3, fpk arg4, fpn arg5, boolean arg6, int arg7)
tesselateBlock(BlockAndTintGetter arg0, List<BlockModelPart> arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, int arg7)
method_3374(class_1920 arg0, List<class_10889> arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, int arg7)
render(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay)
private static boolean
a(dmp arg0, efg arg1, boolean arg2, jh arg3, jb arg4)
shouldRenderFace(BlockAndTintGetter arg0, BlockState arg1, boolean arg2, Direction arg3, BlockPos arg4)
method_68826(class_1920 arg0, class_2680 arg1, boolean arg2, class_2350 arg3, class_2338 arg4)
shouldDrawFace(BlockRenderView world, BlockState state, boolean cull, Direction side, BlockPos pos)
public void
b(dmp arg0, List<hbu> arg1, efg arg2, jb arg3, fpk arg4, fpn arg5, boolean arg6, int arg7)
tesselateWithAO(BlockAndTintGetter arg0, List<BlockModelPart> arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, int arg7)
method_3361(class_1920 arg0, List<class_10889> arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, int arg7)
renderSmooth(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay)
public void
c(dmp arg0, List<hbu> arg1, efg arg2, jb arg3, fpk arg4, fpn arg5, boolean arg6, int arg7)
tesselateWithoutAO(BlockAndTintGetter arg0, List<BlockModelPart> arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, int arg7)
method_3373(class_1920 arg0, List<class_10889> arg1, class_2680 arg2, class_2338 arg3, class_4587 arg4, class_4588 arg5, boolean arg6, int arg7)
renderFlat(BlockRenderView world, List<BlockModelPart> parts, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, int overlay)
private void
a(dmp arg0, efg arg1, jb arg2, fpk arg3, fpn arg4, List<hbo> arg5, hbn$b arg6, int arg7)
renderModelFaceAO(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, PoseStack arg3, VertexConsumer arg4, List<BakedQuad> arg5, ModelBlockRenderer$AmbientOcclusionRenderStorage arg6, int arg7)
method_3363(class_1920 arg0, class_2680 arg1, class_2338 arg2, class_4587 arg3, class_4588 arg4, List<class_777> arg5, class_778$class_780 arg6, int arg7)
renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer$AmbientOcclusionCalculator ambientOcclusionCalculator, int overlay)
private void
a(dmp arg0, efg arg1, jb arg2, fpn arg3, fpk$a arg4, hbo arg5, hbn$e arg6, int arg7)
putQuadData(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, VertexConsumer arg3, PoseStack$Pose arg4, BakedQuad arg5, ModelBlockRenderer$CommonRenderStorage arg6, int arg7)
method_23073(class_1920 arg0, class_2680 arg1, class_2338 arg2, class_4588 arg3, class_4587$class_4665 arg4, class_777 arg5, class_778$class_10931 arg6, int arg7)
renderQuad(BlockRenderView world, BlockState state, BlockPos pos, VertexConsumer vertexConsumer, MatrixStack$Entry matrixEntry, BakedQuad quad, BlockModelRenderer$LightmapCache lightmap, int light)
private static void
a(dmp arg0, efg arg1, jb arg2, int[] arg3, jh arg4, hbn$e arg5)
calculateShape(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, int[] arg3, Direction arg4, ModelBlockRenderer$CommonRenderStorage arg5)
method_3364(class_1920 arg0, class_2680 arg1, class_2338 arg2, int[] arg3, class_2350 arg4, class_778$class_10931 arg5)
getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, BlockModelRenderer$LightmapCache lightmap)
private void
a(dmp arg0, efg arg1, jb arg2, int arg3, int arg4, boolean arg5, fpk arg6, fpn arg7, List<hbo> arg8, hbn$e arg9)
renderModelFaceFlat(BlockAndTintGetter arg0, BlockState arg1, BlockPos arg2, int arg3, int arg4, boolean arg5, PoseStack arg6, VertexConsumer arg7, List<BakedQuad> arg8, ModelBlockRenderer$CommonRenderStorage 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, class_778$class_10931 arg9)
renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer vertexConsumer, List<BakedQuad> quads, BlockModelRenderer$LightmapCache lightmap)
public static void
a(fpk$a arg0, fpn arg1, hbv arg2, float arg3, float arg4, float arg5, int arg6, int arg7)
renderModel(PoseStack$Pose arg0, VertexConsumer arg1, BlockStateModel arg2, float arg3, float arg4, float arg5, int arg6, int arg7)
method_3367(class_4587$class_4665 arg0, class_4588 arg1, class_1087 arg2, float arg3, float arg4, float arg5, int arg6, int arg7)
render(MatrixStack$Entry entry, VertexConsumer vertexConsumer, BlockStateModel model, float red, float green, float blue, int light, int overlay)
private static void
a(fpk$a arg0, fpn arg1, float arg2, float arg3, float arg4, List<hbo> 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()