Interface BlockEntityRendererRegistry
Deprecated.
Helper class for registering BlockEntityRenderers.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<E extends BlockEntity>
voidregister
(BlockEntityType<E> blockEntityType, BlockEntityRendererFactory<? super E> blockEntityRendererFactory) Deprecated.Register a BlockEntityRenderer for a BlockEntityType.
-
Field Details
-
INSTANCE
Deprecated.
-
-
Method Details
-
register
<E extends BlockEntity> void register(BlockEntityType<E> blockEntityType, BlockEntityRendererFactory<? super E> blockEntityRendererFactory) Deprecated.Register a BlockEntityRenderer for a BlockEntityType. Can be called clientside before the world is rendered.- Type Parameters:
E
- theBlockEntity
- Parameters:
blockEntityType
- theBlockEntityType
to register a renderer forblockEntityRendererFactory
- aBlockEntityRendererFactory
that creates aBlockEntityRenderer
, called whenBlockEntityRenderDispatcher
is initialized or immediately if the dispatcher class is already loaded
-
BlockEntityRendererRegistry
instead