public class EntityRendererRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EntityRendererRegistry.Context |
static interface |
EntityRendererRegistry.Factory |
Modifier and Type | Field and Description |
---|---|
static EntityRendererRegistry |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
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) |
void |
register(net.minecraft.entity.EntityType<?> entityType,
EntityRendererRegistry.Factory factory) |
public static final EntityRendererRegistry INSTANCE
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)
public void register(net.minecraft.entity.EntityType<?> entityType, EntityRendererRegistry.Factory factory)