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 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, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, Random rand, long seed, IModelData modelData) boolean
tesselateWithAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) boolean
tesselateWithoutAO
(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, 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 level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) - Overrides:
tesselateWithoutAO
in classModelBlockRenderer
-
tesselateWithAO
public boolean tesselateWithAO(BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, VertexConsumer buffer, boolean checkSides, Random rand, long seed, int packedOverlay, IModelData modelData) - Overrides:
tesselateWithAO
in classModelBlockRenderer
-
render
public static boolean render(VertexLighterFlat lighter, BlockAndTintGetter level, BakedModel model, BlockState state, BlockPos pos, PoseStack poseStack, boolean checkSides, Random rand, long seed, IModelData modelData)
-