Class RenderingRegistry

java.lang.Object
net.minecraftforge.fml.client.registry.RenderingRegistry

public class RenderingRegistry extends Object
  • Field Details

  • Constructor Details

    • RenderingRegistry

      public RenderingRegistry()
  • Method Details

    • registerEntityRenderingHandler

      public static <T extends Entity> void registerEntityRenderingHandler(EntityType<T> entityClass, IRenderFactory<? super T> renderFactory)
      Register an entity rendering handler. This will, after mod initialization, be inserted into the main render map for entities. Call this during FMLClientSetupEvent. This method is safe to call during parallel mod loading.
    • loadEntityRenderers

      public static void loadEntityRenderers(EntityRendererManager manager)
    • register

      private static <T extends Entity> void register(EntityRendererManager manager, EntityType<T> entityType, IRenderFactory<?> renderFactory)