Class EntityRendererRegistry

java.lang.Object
net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry

public class EntityRendererRegistry extends Object
Helper class for registering EntityRenderers.
  • Field Details

  • 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)