Interface EntityRendererRegistry
Deprecated.
Helper class for registering EntityRenderers.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<E extends Entity>
voidregister
(EntityType<? extends E> entityType, EntityRendererFactory<E> entityRendererFactory) Deprecated.Register a BlockEntityRenderer for a BlockEntityType.
-
Field Details
-
INSTANCE
Deprecated.
-
-
Method Details
-
register
<E extends Entity> void register(EntityType<? extends E> entityType, EntityRendererFactory<E> entityRendererFactory) Deprecated.Register a BlockEntityRenderer for a BlockEntityType. Can be called clientside before the world is rendered.- Type Parameters:
E
- theEntity
- Parameters:
entityType
- theEntityType
to register a renderer forentityRendererFactory
- aEntityRendererFactory
that creates aEntityRenderer
, called whenEntityRenderDispatcher
is initialized or immediately if the dispatcher class is already loaded
-
EntityRendererRegistry
instead