Interface IBlockEntityRendererExtension<T extends BlockEntity>
- All Known Subinterfaces:
BlockEntityRenderer<T>
- All Known Implementing Classes:
BannerRenderer,BeaconRenderer,BedRenderer,BellRenderer,BrushableBlockRenderer,CampfireRenderer,ChestRenderer,ConduitRenderer,DecoratedPotRenderer,EnchantTableRenderer,HangingSignRenderer,LecternRenderer,PistonHeadRenderer,ShulkerBoxRenderer,SignRenderer,SkullBlockRenderer,SpawnerRenderer,StructureBlockRenderer,TheEndGatewayRenderer,TheEndPortalRenderer
public interface IBlockEntityRendererExtension<T extends BlockEntity>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault AABBgetRenderBoundingBox(T blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer.
-
Field Details
-
INFINITE_EXTENT_AABB
Bounding box with infinite scope. Used as the render bounding box for blocks with dynamic render bounds which can't be trivially determined
-
-
Method Details
-
getRenderBoundingBox
Return anAABBthat controls the visible scope of thisBlockEntityRenderer. Defaults to the unit cube at the given position.- Returns:
- an appropriately sized
AABBfor theBlockEntityRenderer
-