net.minecraft.client.render.block

public class BlockModelRenderer

net.minecraft.client.renderer.block.ModelBlockRenderer
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[]
DIRECTIONS
DIRECTIONS
field_27743
DIRECTIONS
private final AmbientOcclusionCalculator
lighter
lighter
field_1_2204
aoCalculator
private final boolean
ambientOcclusion
ambientOcclusion
field_1_2202
ao
private final boolean
cull
cull
field_1_2203
chunked
private final BlockColors
blockColors
blockColors
field_4178
colors
private final Random
random
random
field_1_2207
random
private final List<BlockModelPart>
parts
parts
field_1_2205
modelParts
private final BlockPos$Mutable
scratchPos
scratchPos
field_1_2208
neighborPos
private final QuadShading
quadInstance
quadInstance
field_1_2206
shading
private int
tintCacheIndex
tintCacheIndex
field_1_2209
lastTintIndex
private int
tintCacheValue
tintCacheValue
field_1_2210
colorOfLastTintIndex
private boolean
tintSourcesInitialized
tintSourcesInitialized
field_1_2325
initializedColors
private final List<BlockColorProvider>
tintSources
tintSources
field_1_2326
colorProviders
private final it.unimi.dsi.fastutil.ints.IntList
computedTintValues
computedTintValues
field_1_2324
tintColors

Constructor summary

ModifierConstructor
public (boolean ao, boolean chunked, BlockColors colors)

Method summary

Modifier and TypeMethod
public static boolean
forceOpaque(boolean cutoutLeaves, BlockState blockState)
forceOpaque(boolean cutoutLeaves, BlockState blockState)
method_1_2627(boolean arg0, class_2680 arg1)
forceSolid(boolean cutoutLeaves, BlockState state)
public void
tesselateBlock(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockPos pos, BlockState blockState, BlockStateModel model, long seed)
tesselateBlock(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockPos pos, BlockState blockState, BlockStateModel model, long seed)
method_1_2632(class_1_319 arg0, float arg1, float arg2, float arg3, class_1_393 arg4, class_2338 arg5, class_2680 arg6, class_1087 arg7, long arg8)
renderModel(QuadConsumer callback, float x, float y, float z, BlockRenderView blockRenderView, BlockPos pos, BlockState state, BlockStateModel model, long seed)
private void
configureTintCache(BlockState blockState)
configureTintCache(BlockState blockState)
method_1_2801(class_2680 arg0)
initializeColors(BlockState state)
private void
resetTintCache()
resetTintCache()
method_1_2802()
resetColors()
private void
tesselateAmbientOcclusion(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos)
tesselateAmbientOcclusion(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos)
method_1_2631(class_1_319 arg0, float arg1, float arg2, float arg3, List<class_10889> arg4, class_1_393 arg5, class_2680 arg6, class_2338 arg7)
renderModelPartsWithAo(QuadConsumer callback, float x, float y, float z, List<BlockModelPart> modelParts, BlockRenderView blockRenderView, BlockState state, BlockPos pos)
private void
tesselateFlat(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos)
tesselateFlat(BlockQuadOutput output, float x, float y, float z, List<BlockStateModelPart> parts, BlockAndTintGetter level, BlockState state, BlockPos pos)
method_1_2633(class_1_319 arg0, float arg1, float arg2, float arg3, List<class_10889> arg4, class_1_393 arg5, class_2680 arg6, class_2338 arg7)
renderModelPartsWithoutAo(QuadConsumer callback, float x, float y, float z, List<BlockModelPart> modelParts, BlockRenderView blockRenderView, BlockState state, BlockPos pos)
private boolean
shouldRenderFace(BlockAndTintGetter level, BlockState state, Direction direction, BlockPos neighborPos)
shouldRenderFace(BlockAndTintGetter level, BlockState state, Direction direction, BlockPos neighborPos)
method_1_2630(class_1_393 arg0, class_2680 arg1, class_2350 arg2, class_2338 arg3)
shouldDrawSide(BlockRenderView blockRenderView, BlockState state, Direction direction, BlockPos neighborPos)
private void
putQuadWithTint(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad)
putQuadWithTint(BlockQuadOutput output, float x, float y, float z, BlockAndTintGetter level, BlockState state, BlockPos pos, BakedQuad quad)
method_1_2629(class_1_319 arg0, float arg1, float arg2, float arg3, class_1_393 arg4, class_2680 arg5, class_2338 arg6, class_777 arg7)
renderQuad(QuadConsumer callback, float x, float y, float z, BlockRenderView blockRenderView, BlockState state, BlockPos pos, BakedQuad quad)
private int
getTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex)
getTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex)
method_1_2628(class_1_393 arg0, class_2680 arg1, class_2338 arg2, int arg3)
getTintColor(BlockRenderView blockRenderView, BlockState state, BlockPos pos, int tintIndex)
private int
computeTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex)
computeTintColor(BlockAndTintGetter level, BlockState state, BlockPos pos, int tintIndex)
method_1_2800(class_1_393 arg0, class_2680 arg1, class_2338 arg2, int arg3)
computeTintColor(BlockRenderView world, BlockState state, BlockPos pos, int tintIndex)