Class BlockRenderDispatcher
java.lang.Object
net.minecraft.client.renderer.block.BlockRenderDispatcher
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate BlockColors
private BlockEntityWithoutLevelRenderer
private BlockModelShaper
private LiquidBlockRenderer
private ModelBlockRenderer
private Random
-
Constructor Summary
ConstructorDescriptionBlockRenderDispatcher(BlockModelShaper p_173399_, BlockEntityWithoutLevelRenderer p_173400_, BlockColors p_173401_)
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockModel(BlockState p_110911_)
void
onResourceManagerReload(ResourceManager p_110909_)
boolean
renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_)
Deprecated.boolean
renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_, IModelData modelData)
void
renderBreakingTexture(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_)
Deprecated.void
renderBreakingTexture(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_, IModelData modelData)
boolean
renderLiquid(BlockPos p_110933_, BlockAndTintGetter p_110934_, VertexConsumer p_110935_, FluidState p_110936_)
void
renderSingleBlock(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_)
Deprecated.void
renderSingleBlock(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_, IModelData modelData)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
Methods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
getResourceType, reload
-
Field Details
-
blockModelShaper
-
modelRenderer
-
blockEntityRenderer
-
liquidBlockRenderer
-
random
-
blockColors
-
-
Constructor Details
-
BlockRenderDispatcher
public BlockRenderDispatcher(BlockModelShaper p_173399_, BlockEntityWithoutLevelRenderer p_173400_, BlockColors p_173401_)
-
-
Method Details
-
getBlockModelShaper
-
renderBreakingTexture
@Deprecated public void renderBreakingTexture(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_)Deprecated. -
renderBreakingTexture
public void renderBreakingTexture(BlockState p_110919_, BlockPos p_110920_, BlockAndTintGetter p_110921_, PoseStack p_110922_, VertexConsumer p_110923_, IModelData modelData) -
renderBatched
@Deprecated public boolean renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_)Deprecated. -
renderBatched
public boolean renderBatched(BlockState p_110925_, BlockPos p_110926_, BlockAndTintGetter p_110927_, PoseStack p_110928_, VertexConsumer p_110929_, boolean p_110930_, Random p_110931_, IModelData modelData) -
renderLiquid
public boolean renderLiquid(BlockPos p_110933_, BlockAndTintGetter p_110934_, VertexConsumer p_110935_, FluidState p_110936_) -
getModelRenderer
-
getBlockModel
-
renderSingleBlock
@Deprecated public void renderSingleBlock(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_)Deprecated. -
renderSingleBlock
public void renderSingleBlock(BlockState p_110913_, PoseStack p_110914_, MultiBufferSource p_110915_, int p_110916_, int p_110917_, IModelData modelData) -
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-