Interface IBlockEntityRendererExtension<T extends BlockEntity>
- All Known Subinterfaces:
BlockEntityRenderer<T>
- All Known Implementing Classes:
BannerRenderer
,BeaconRenderer
,BedRenderer
,BellRenderer
,BrushableBlockRenderer
,CampfireRenderer
,ChestRenderer
,ConduitRenderer
,CustomItemDisplayContextTest.RendererEvents.ItemHangerBlockEntityRenderer
,DecoratedPotRenderer
,EnchantTableRenderer
,HangingSignRenderer
,LecternRenderer
,PistonHeadRenderer
,ShulkerBoxRenderer
,SignRenderer
,SkullBlockRenderer
,SpawnerRenderer
,StructureBlockRenderer
,TheEndGatewayRenderer
,TheEndPortalRenderer
,TrialSpawnerRenderer
,VaultRenderer
public interface IBlockEntityRendererExtension<T extends BlockEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AABB
getRenderBoundingBox
(T blockEntity) Return anAABB
that controls the visible scope of thisBlockEntityRenderer
.
-
Method Details
-
getRenderBoundingBox
Return anAABB
that controls the visible scope of thisBlockEntityRenderer
. Defaults to the unit cube at the given position.AABB.INFINITE
can be used to declare the BER should be visible everywhere.- Returns:
- an appropriately sized
AABB
for theBlockEntityRenderer
-