net.minecraft.client.renderer.block

public class ModelBlockRenderer

gfv
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 void
a(dbz arg0, gsm arg1, dtc arg2, jd arg3, fbi arg4, fbm arg5, boolean arg6, ayw 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)
m_234379_(C_1557_ p_234381_, C_4528_ p_234382_, C_2064_ p_234383_, C_4675_ p_234384_, C_3181_ p_234385_, C_3187_ p_234386_, boolean p_234387_, C_212974_ p_234388_, long p_234389_, int arg9)
public void
b(dbz arg0, gsm arg1, dtc arg2, jd arg3, fbi arg4, fbm arg5, boolean arg6, ayw 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)
m_234390_(C_1557_ p_234392_, C_4528_ p_234393_, C_2064_ p_234394_, C_4675_ p_234395_, C_3181_ p_234396_, C_3187_ p_234397_, boolean p_234398_, C_212974_ p_234399_, long p_234400_, int arg9)
public void
c(dbz arg0, gsm arg1, dtc arg2, jd arg3, fbi arg4, fbm arg5, boolean arg6, ayw 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)
m_234401_(C_1557_ p_234403_, C_4528_ p_234404_, C_2064_ p_234405_, C_4675_ p_234406_, C_3181_ p_234407_, C_3187_ p_234408_, boolean p_234409_, C_212974_ p_234410_, long p_234411_, int arg9)
private void
a(dbz arg0, dtc arg1, jd arg2, fbi arg3, fbm arg4, List<gfw> arg5, float[] arg6, BitSet arg7, gfv$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(dbz arg0, dtc arg1, jd arg2, fbm arg3, fbi$a arg4, gfw 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(dbz arg0, dtc arg1, jd arg2, int[] arg3, ji 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(dbz arg0, dtc arg1, jd arg2, int arg3, int arg4, boolean arg5, fbi arg6, fbm arg7, List<gfw> 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)
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(fbi$a arg0, fbm arg1, dtc arg2, gsm 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)
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(fbi$a arg0, fbm arg1, float arg2, float arg3, float arg4, List<gfw> 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)
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_()