Interface EntityRendererRegistry


@Deprecated public interface EntityRendererRegistry
Deprecated.
This module has been moved into fabric-rendering-v1. Use EntityRendererRegistry instead
Helper class for registering EntityRenderers.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <E extends net.minecraft.entity.Entity>
    void
    register(net.minecraft.entity.EntityType<? extends E> entityType, net.minecraft.client.render.entity.EntityRendererFactory<E> entityRendererFactory)
    Deprecated.
    Register a BlockEntityRenderer for a BlockEntityType.
  • Field Details

  • Method Details

    • register

      <E extends net.minecraft.entity.Entity> void register(net.minecraft.entity.EntityType<? extends E> entityType, net.minecraft.client.render.entity.EntityRendererFactory<E> entityRendererFactory)
      Deprecated.
      Register a BlockEntityRenderer for a BlockEntityType. Can be called clientside before the world is rendered.
      Type Parameters:
      E - the Entity
      Parameters:
      entityType - the EntityType to register a renderer for
      entityRendererFactory - a EntityRendererFactory that creates a EntityRenderer, called when EntityRenderDispatcher is initialized or immediately if the dispatcher class is already loaded