Class ForgeBlockModelRenderer
java.lang.Object
net.minecraft.client.renderer.BlockModelRenderer
net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.renderer.BlockModelRenderer
BlockModelRenderer.NeighborInfo, BlockModelRenderer.Orientation
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ThreadLocal<VertexBufferConsumer>
private final ThreadLocal<VertexBufferConsumer>
private final ThreadLocal<VertexLighterFlat>
private final ThreadLocal<VertexLighterSmoothAo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
render
(VertexLighterFlat lighter, IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData) boolean
renderModelFlat
(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) boolean
renderModelSmooth
(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) Methods inherited from class net.minecraft.client.renderer.BlockModelRenderer
clearCache, enableCaching, renderModel, renderModel, renderModel, tesselateBlock, tesselateWithAO, tesselateWithoutAO
-
Field Details
-
lighterFlat
-
lighterSmooth
-
consumerFlat
-
consumerSmooth
-
-
Constructor Details
-
ForgeBlockModelRenderer
-
-
Method Details
-
renderModelFlat
public boolean renderModelFlat(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) - Overrides:
renderModelFlat
in classBlockModelRenderer
-
renderModelSmooth
public boolean renderModelSmooth(IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, IVertexBuilder buffer, boolean checkSides, Random rand, long seed, int combinedOverlayIn, IModelData modelData) - Overrides:
renderModelSmooth
in classBlockModelRenderer
-
render
public static boolean render(VertexLighterFlat lighter, IBlockDisplayReader world, IBakedModel model, BlockState state, BlockPos pos, MatrixStack matrixStack, boolean checkSides, Random rand, long seed, IModelData modelData)
-