Class StructureBlockRenderer
java.lang.Object
net.minecraft.client.renderer.blockentity.StructureBlockRenderer
- All Implemented Interfaces:
- BlockEntityRenderer<StructureBlockEntity>,- IBlockEntityRendererExtension<StructureBlockEntity>
public class StructureBlockRenderer
extends Object
implements BlockEntityRenderer<StructureBlockEntity>
- 
Field SummaryFields inherited from interface net.neoforged.neoforge.client.extensions.IBlockEntityRendererExtensionINFINITE_EXTENT_AABB
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetRenderBoundingBox(StructureBlockEntity blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.intvoidrender(StructureBlockEntity p_112583_, float p_112584_, PoseStack p_112585_, MultiBufferSource p_112586_, int p_112587_, int p_112588_) private voidrenderInvisibleBlocks(StructureBlockEntity p_173677_, VertexConsumer p_173678_, BlockPos p_173679_, PoseStack p_173680_) booleanshouldRenderOffScreen(StructureBlockEntity p_112581_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.blockentity.BlockEntityRenderershouldRender
- 
Constructor Details- 
StructureBlockRenderer
 
- 
- 
Method Details- 
renderpublic void render(StructureBlockEntity p_112583_, float p_112584_, PoseStack p_112585_, MultiBufferSource p_112586_, int p_112587_, int p_112588_) - Specified by:
- renderin interface- BlockEntityRenderer<StructureBlockEntity>
 
- 
renderInvisibleBlocksprivate void renderInvisibleBlocks(StructureBlockEntity p_173677_, VertexConsumer p_173678_, BlockPos p_173679_, PoseStack p_173680_) 
- 
shouldRenderOffScreen- Specified by:
- shouldRenderOffScreenin interface- BlockEntityRenderer<StructureBlockEntity>
 
- 
getViewDistancepublic int getViewDistance()- Specified by:
- getViewDistancein interface- BlockEntityRenderer<StructureBlockEntity>
 
- 
getRenderBoundingBoxDescription copied from interface:IBlockEntityRendererExtensionReturn anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Specified by:
- getRenderBoundingBoxin interface- IBlockEntityRendererExtension<StructureBlockEntity>
- Returns:
- an appropriately sized AABBfor theBlockEntityRenderer
 
 
-