Class RenderingRegistry


  • public class RenderingRegistry
    extends java.lang.Object
    • Constructor Detail

      • RenderingRegistry

        public RenderingRegistry()
    • Method Detail

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