net.minecraft.client.renderer.block

public class ModelBlockRenderer

eqe
net.minecraft.client.renderer.block.ModelBlockRenderer
net.minecraft.class_778
net.minecraft.client.render.block.BlockModelRenderer
net.minecraft.src.C_4186_

Field summary

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

Constructor summary

ModifierConstructor
public (BlockColors colors)

Method summary

Modifier and TypeMethod
public boolean
a(bzg arg0, fbd arg1, coc arg2, gh arg3, dsj arg4, dsn arg5, boolean arg6, Random arg7, long arg8, int arg9)
tesselateBlock(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, Random 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, Random 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)
m_111047_(C_1557_ p_111049_, C_4528_ p_111050_, C_2064_ p_111051_, C_4675_ p_111052_, C_3181_ p_111053_, C_3187_ p_111054_, boolean p_111055_, Random p_111056_, long p_111057_, int arg9)
public boolean
b(bzg arg0, fbd arg1, coc arg2, gh arg3, dsj arg4, dsn arg5, boolean arg6, Random arg7, long arg8, int arg9)
tesselateWithAO(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, Random 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, Random 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)
m_111078_(C_1557_ p_111080_, C_4528_ p_111081_, C_2064_ p_111082_, C_4675_ p_111083_, C_3181_ p_111084_, C_3187_ p_111085_, boolean p_111086_, Random p_111087_, long p_111088_, int arg9)
public boolean
c(bzg arg0, fbd arg1, coc arg2, gh arg3, dsj arg4, dsn arg5, boolean arg6, Random arg7, long arg8, int arg9)
tesselateWithoutAO(BlockAndTintGetter arg0, BakedModel arg1, BlockState arg2, BlockPos arg3, PoseStack arg4, VertexConsumer arg5, boolean arg6, Random 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, Random arg7, long arg8, int arg9)
renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrices, VertexConsumer vertexConsumer, boolean cull, Random random, long arg8, int arg9)
m_111090_(C_1557_ p_111092_, C_4528_ p_111093_, C_2064_ p_111094_, C_4675_ p_111095_, C_3181_ p_111096_, C_3187_ p_111097_, boolean p_111098_, Random p_111099_, long p_111100_, int arg9)
private void
a(bzg arg0, coc arg1, gh arg2, dsj arg3, dsn arg4, List<eqf> arg5, float[] arg6, BitSet arg7, eqe$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)
m_111012_(C_1557_ p_111014_, C_2064_ p_111015_, C_4675_ p_111016_, C_3181_ p_111017_, C_3187_ p_111018_, List<C_4196_> p_111019_, float[] p_111020_, BitSet p_111021_, C_4186_$C_4189_ p_111022_, int arg9)
private void
a(bzg arg0, coc arg1, gh arg2, dsn arg3, dsj$a arg4, eqf 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)
m_111023_(C_1557_ p_111025_, C_2064_ p_111026_, C_4675_ p_111027_, C_3187_ p_111028_, C_3181_$C_3183_ p_111029_, C_4196_ p_111030_, float p_111031_, float p_111032_, float p_111033_, float p_111034_, int p_111035_, int p_111036_, int p_111037_, int p_111038_, int arg14)
private void
a(bzg arg0, coc arg1, gh arg2, int[] arg3, gm 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)
m_111039_(C_1557_ p_111041_, C_2064_ p_111042_, C_4675_ p_111043_, int[] p_111044_, C_4687_ p_111045_, float[] p_111046_, BitSet arg6)
private void
a(bzg arg0, coc arg1, gh arg2, int arg3, int arg4, boolean arg5, dsj arg6, dsn arg7, List<eqf> 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 arg7, List<BakedQuad> quads, BitSet flags)
m_111001_(C_1557_ p_111003_, C_2064_ p_111004_, C_4675_ p_111005_, int p_111006_, int p_111007_, boolean p_111008_, C_3181_ p_111009_, C_3187_ p_111010_, List<C_4196_> p_111011_, BitSet arg9)
public void
a(dsj$a arg0, dsn arg1, coc arg2, fbd 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 arg0, VertexConsumer arg1, BlockState arg2, BakedModel arg3, float arg4, float arg5, float arg6, int arg7, int arg8)
m_111067_(C_3181_$C_3183_ p_111069_, C_3187_ p_111070_, C_2064_ p_111071_, C_4528_ p_111072_, float p_111073_, float p_111074_, float p_111075_, int p_111076_, int arg8)
private static void
a(dsj$a arg0, dsn arg1, float arg2, float arg3, float arg4, List<eqf> 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)
renderQuad(MatrixStack$Entry arg0, VertexConsumer arg1, float arg2, float arg3, float arg4, List<BakedQuad> arg5, int arg6, int arg7)
m_111058_(C_3181_$C_3183_ p_111059_, C_3187_ p_111060_, float p_111061_, float p_111062_, float p_111063_, List<C_4196_> p_111064_, int p_111065_, int p_111066_)
public static void
a()
enableCaching()
method_20544()
enableBrightnessCache()
m_111000_()
public static void
b()
clearCache()
method_20545()
disableBrightnessCache()
m_111077_()