net.minecraft.client.renderer.block

public class ModelBlockRenderer

gyt
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(dlv arg0, List<gza> arg1, eeb arg2, jb arg3, foc arg4, fof 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(dlv arg0, eeb 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(dlv arg0, List<gza> arg1, eeb arg2, jb arg3, foc arg4, fof 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(dlv arg0, List<gza> arg1, eeb arg2, jb arg3, foc arg4, fof 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(dlv arg0, eeb arg1, jb arg2, foc arg3, fof arg4, List<gyu> arg5, gyt$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(dlv arg0, eeb arg1, jb arg2, fof arg3, foc$a arg4, gyu arg5, gyt$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(dlv arg0, eeb arg1, jb arg2, int[] arg3, jh arg4, gyt$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(dlv arg0, eeb arg1, jb arg2, int arg3, int arg4, boolean arg5, foc arg6, fof arg7, List<gyu> arg8, gyt$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(foc$a arg0, fof arg1, gzb 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(foc$a arg0, fof arg1, float arg2, float arg3, float arg4, List<gyu> 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()