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 Details

    • getRenderBoundingBox

      default AABB getRenderBoundingBox(T blockEntity)
      Return an AABB that controls the visible scope of this BlockEntityRenderer. 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 the BlockEntityRenderer