net.minecraft.client.renderer.block

public class ModelBlockRenderer

gmp
net.minecraft.client.renderer.block.ModelBlockRenderer
net.minecraft.class_778
net.minecraft.unmapped.C_agoaazwy
net.minecraft.client.render.block.BlockModelRenderer
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
f_ekmkjbxg
field_32782
CUBIC_FACE
f_173403_
private static final int
b
FACE_PARTIAL
field_32783
f_alqzpdbm
field_32783
PARTIAL_FACE
f_173404_
static final Direction[]
c
DIRECTIONS
field_27743
f_vnpvpvav
DIRECTIONS
DIRECTIONS
f_173405_
private final BlockColors
d
blockColors
field_4178
f_ddzizgmp
colors
colors
f_110995_
private static final int
e
CACHE_SIZE
field_32784
f_dljaneht
BRIGHTNESS_CACHE_MAX_SIZE
BRIGHTNESS_CACHE_MAX_SIZE
f_173406_
static final ThreadLocal<ModelBlockRenderer$Cache>
f
CACHE
field_4179
f_vmzibreh
BRIGHTNESS_CACHE
BRIGHTNESS_CACHE
f_110996_

Constructor summary

ModifierConstructor
public (BlockColors colors)

Method summary

Modifier and TypeMethod
public void
a(dgj arg0, hdm arg1, dxu arg2, jh arg3, fgr arg4, fgv 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)
m_vbhxszcb(C_xjeuupup arg0, C_nnhmhkbv arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_cnszsxvd arg4, C_igthdzux arg5, boolean arg6, C_rlomrsco 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)
render(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack matrix, VertexConsumer vertexConsumer, boolean cull, RandomGenerator 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(dgj arg0, hdm arg1, dxu arg2, jh arg3, fgr arg4, fgv 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)
m_aqqxasyy(C_xjeuupup arg0, C_nnhmhkbv arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_cnszsxvd arg4, C_igthdzux arg5, boolean arg6, C_rlomrsco 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)
renderSmooth(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, RandomGenerator 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(dgj arg0, hdm arg1, dxu arg2, jh arg3, fgr arg4, fgv 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)
m_vfzvceuq(C_xjeuupup arg0, C_nnhmhkbv arg1, C_txtbiemp arg2, C_hynzadkk arg3, C_cnszsxvd arg4, C_igthdzux arg5, boolean arg6, C_rlomrsco 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)
renderFlat(BlockRenderView world, BakedModel model, BlockState state, BlockPos pos, MatrixStack buffer, VertexConsumer vertexConsumer, boolean cull, RandomGenerator 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(dgj arg0, dxu arg1, jh arg2, fgr arg3, fgv arg4, List<gmr> arg5, float[] arg6, BitSet arg7, gmp$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)
m_nqpczkyb(C_xjeuupup arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_cnszsxvd arg3, C_igthdzux arg4, List<C_jblhunwf> arg5, float[] arg6, BitSet arg7, C_agoaazwy$C_mabptfqw 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)
renderQuadsSmooth(BlockRenderView world, BlockState state, BlockPos pos, MatrixStack matrix, 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(dgj arg0, dxu arg1, jh arg2, fgv arg3, fgr$a arg4, gmr 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)
m_glpxnpuz(C_xjeuupup arg0, C_txtbiemp arg1, C_hynzadkk arg2, C_igthdzux arg3, C_cnszsxvd$C_pqokfevb arg4, C_jblhunwf 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)
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(dgj arg0, dxu 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)
m_motneunr(C_xjeuupup arg0, C_txtbiemp arg1, C_hynzadkk arg2, int[] arg3, C_xpuuihxf arg4, float[] arg5, BitSet arg6)
getQuadDimensions(BlockRenderView world, BlockState state, BlockPos pos, int[] vertexData, Direction face, float[] box, BitSet flags)
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(dgj arg0, dxu arg1, jh arg2, int arg3, int arg4, boolean arg5, fgr arg6, fgv arg7, List<gmr> 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)
m_tpkadloi(C_xjeuupup arg0, C_txtbiemp arg1, C_hynzadkk arg2, int arg3, int arg4, boolean arg5, C_cnszsxvd arg6, C_igthdzux arg7, List<C_jblhunwf> 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)
renderQuadsFlat(BlockRenderView world, BlockState state, BlockPos pos, int light, int overlay, boolean useWorldLight, MatrixStack matrices, VertexConsumer consumer, 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(fgr$a arg0, fgv arg1, dxu arg2, hdm 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)
m_plmhjlba(C_cnszsxvd$C_pqokfevb arg0, C_igthdzux arg1, C_txtbiemp arg2, C_nnhmhkbv 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)
render(MatrixStack$Entry entry, VertexConsumer consumer, BlockState blockState, BakedModel model, 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(fgr$a arg0, fgv arg1, float arg2, float arg3, float arg4, List<gmr> 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)
m_yfdfuqii(C_cnszsxvd$C_pqokfevb arg0, C_igthdzux arg1, float arg2, float arg3, float arg4, List<C_jblhunwf> arg5, int arg6, int arg7)
renderQuads(MatrixStack$Entry entry, VertexConsumer vertexConsumer, float red, float green, float blue, List<BakedQuad> quads, int light, int overlay)
renderQuad(MatrixStack$Entry entry, VertexConsumer consumer, 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()
m_quhznage()
enableBrightnessCache()
enableBrightnessCache()
m_111000_()
public static void
b()
clearCache()
method_20545()
m_oaugyfus()
disableBrightnessCache()
disableBrightnessCache()
m_111077_()