Class EntityRendererRegistry
java.lang.Object
net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry
Helper class for registering EntityRenderers.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize(net.minecraft.client.render.entity.EntityRenderDispatcher manager, net.minecraft.client.texture.TextureManager textureManager, net.minecraft.resource.ReloadableResourceManager resourceManager, net.minecraft.client.render.item.ItemRenderer itemRenderer, Map<net.minecraft.entity.EntityType<?>,net.minecraft.client.render.entity.EntityRenderer<?>> renderers)
void
register(net.minecraft.entity.EntityType<?> entityType, EntityRendererRegistry.Factory factory)
-
Field Details
-
INSTANCE
-
-
Method Details
-
initialize
public void initialize(net.minecraft.client.render.entity.EntityRenderDispatcher manager, net.minecraft.client.texture.TextureManager textureManager, net.minecraft.resource.ReloadableResourceManager resourceManager, net.minecraft.client.render.item.ItemRenderer itemRenderer, Map<net.minecraft.entity.EntityType<?>,net.minecraft.client.render.entity.EntityRenderer<?>> renderers) -
register
public void register(net.minecraft.entity.EntityType<?> entityType, EntityRendererRegistry.Factory factory)
-