Class ForgeBlockModelRenderer
java.lang.Object
net.minecraft.client.renderer.block.ModelBlockRenderer
net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.block.ModelBlockRenderer
ModelBlockRenderer.AdjacencyInfo, ModelBlockRenderer.SizeInfo
-
Field Summary
Modifier and TypeFieldDescriptionprivate ThreadLocal<VertexBufferConsumer>
private ThreadLocal<VertexBufferConsumer>
private ThreadLocal<VertexLighterFlat>
private ThreadLocal<VertexLighterSmoothAo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
render(VertexLighterFlat lighter, BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData)
boolean
tesselateWithAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
boolean
tesselateWithoutAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)
Methods inherited from class net.minecraft.client.renderer.block.ModelBlockRenderer
clearCache, enableCaching, renderModel, renderModel, tesselateBlock, tesselateBlock, tesselateWithAO, tesselateWithoutAO
-
Field Details
-
lighterFlat
-
lighterSmooth
-
consumerFlat
-
consumerSmooth
-
-
Constructor Details
-
ForgeBlockModelRenderer
-
-
Method Details
-
tesselateWithoutAO
public boolean tesselateWithoutAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)- Overrides:
tesselateWithoutAO
in classModelBlockRenderer
-
tesselateWithAO
public boolean tesselateWithAO(BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData)- Overrides:
tesselateWithAO
in classModelBlockRenderer
-
render
public static boolean render(VertexLighterFlat lighter, BlockAndTintGetter world, BakedModel model, BlockState state, BlockPos pos, PoseStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData)
-