Interface BlockEntityRendererRegistry


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

    Fields
    Modifier and Type
    Field
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <E extends net.minecraft.block.entity.BlockEntity>
    void
    register(net.minecraft.block.entity.BlockEntityType<E> blockEntityType, net.minecraft.client.render.block.entity.BlockEntityRendererFactory<? super E> blockEntityRendererFactory)
    Deprecated.
    Register a BlockEntityRenderer for a BlockEntityType.
  • Field Details

  • Method Details

    • register

      <E extends net.minecraft.block.entity.BlockEntity> void register(net.minecraft.block.entity.BlockEntityType<E> blockEntityType, net.minecraft.client.render.block.entity.BlockEntityRendererFactory<? super E> blockEntityRendererFactory)
      Deprecated.
      Register a BlockEntityRenderer for a BlockEntityType. Can be called clientside before the world is rendered.
      Type Parameters:
      E - the BlockEntity
      Parameters:
      blockEntityType - the BlockEntityType to register a renderer for
      blockEntityRendererFactory - a class_5614 that creates a BlockEntityRenderer, called when BlockEntityRenderDispatcher is initialized or immediately if the dispatcher class is already loaded