Package net.minecraft.client.renderer
Class BlockRendererDispatcher
java.lang.Object
net.minecraft.client.renderer.BlockRendererDispatcher
- All Implemented Interfaces:
IFutureReloadListener
,IResourceManagerReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BlockColors
private final BlockModelShapes
private final FluidBlockRenderer
private final BlockModelRenderer
private final Random
-
Constructor Summary
ConstructorDescriptionBlockRendererDispatcher
(BlockModelShapes p_i46577_1_, BlockColors p_i46577_2_) -
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel
(BlockState p_184389_1_) void
onResourceManagerReload
(IResourceManager p_195410_1_) boolean
renderBatched
(BlockState p_228793_1_, BlockPos p_228793_2_, IBlockDisplayReader p_228793_3_, MatrixStack p_228793_4_, IVertexBuilder p_228793_5_, boolean p_228793_6_, Random p_228793_7_) Deprecated.void
renderBlock
(BlockState p_228791_1_, MatrixStack p_228791_2_, IRenderTypeBuffer p_228791_3_, int p_228791_4_, int p_228791_5_, IModelData modelData) void
renderBlockDamage
(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, IModelData modelData) void
renderBreakingTexture
(BlockState p_228792_1_, BlockPos p_228792_2_, IBlockDisplayReader p_228792_3_, MatrixStack p_228792_4_, IVertexBuilder p_228792_5_) Deprecated.boolean
renderLiquid
(BlockPos p_228794_1_, IBlockDisplayReader p_228794_2_, IVertexBuilder p_228794_3_, FluidState p_228794_4_) boolean
renderModel
(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, boolean checkSides, Random rand, IModelData modelData) void
renderSingleBlock
(BlockState p_228791_1_, MatrixStack p_228791_2_, IRenderTypeBuffer p_228791_3_, int p_228791_4_, int p_228791_5_) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
Methods inherited from interface net.minecraft.resources.IResourceManagerReloadListener
reload
-
Field Details
-
blockModelShaper
-
modelRenderer
-
liquidBlockRenderer
-
random
-
blockColors
-
-
Constructor Details
-
BlockRendererDispatcher
-
-
Method Details
-
getBlockModelShaper
-
renderBreakingTexture
@Deprecated public void renderBreakingTexture(BlockState p_228792_1_, BlockPos p_228792_2_, IBlockDisplayReader p_228792_3_, MatrixStack p_228792_4_, IVertexBuilder p_228792_5_) Deprecated. -
renderBlockDamage
public void renderBlockDamage(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, IModelData modelData) -
renderBatched
@Deprecated public boolean renderBatched(BlockState p_228793_1_, BlockPos p_228793_2_, IBlockDisplayReader p_228793_3_, MatrixStack p_228793_4_, IVertexBuilder p_228793_5_, boolean p_228793_6_, Random p_228793_7_) Deprecated. -
renderModel
public boolean renderModel(BlockState blockStateIn, BlockPos posIn, IBlockDisplayReader lightReaderIn, MatrixStack matrixStackIn, IVertexBuilder vertexBuilderIn, boolean checkSides, Random rand, IModelData modelData) -
renderLiquid
public boolean renderLiquid(BlockPos p_228794_1_, IBlockDisplayReader p_228794_2_, IVertexBuilder p_228794_3_, FluidState p_228794_4_) -
getModelRenderer
-
getBlockModel
-
renderSingleBlock
@Deprecated public void renderSingleBlock(BlockState p_228791_1_, MatrixStack p_228791_2_, IRenderTypeBuffer p_228791_3_, int p_228791_4_, int p_228791_5_) Deprecated. -
renderBlock
public void renderBlock(BlockState p_228791_1_, MatrixStack p_228791_2_, IRenderTypeBuffer p_228791_3_, int p_228791_4_, int p_228791_5_, IModelData modelData) -
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceIResourceManagerReloadListener
-
getResourceType
- Specified by:
getResourceType
in interfaceIResourceManagerReloadListener
-