public class RenderingRegistry
extends java.lang.Object
Constructor and Description |
---|
RenderingRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
loadEntityRenderers(java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> entityRenderMap) |
static void |
loadEntityRenderers(RenderManager manager,
java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> renderMap) |
static void |
registerEntityRenderingHandler(java.lang.Class<? extends Entity> entityClass,
Render<? extends Entity> renderer)
Deprecated.
use the factory version during Preinitialization.
TODO Will be removed in 1.11.
|
static <T extends Entity> |
registerEntityRenderingHandler(java.lang.Class<T> entityClass,
IRenderFactory<? super T> renderFactory)
Register an entity rendering handler.
|
@Deprecated public static void registerEntityRenderingHandler(java.lang.Class<? extends Entity> entityClass, Render<? extends Entity> renderer)
public static void loadEntityRenderers(java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> entityRenderMap)
public static <T extends Entity> void registerEntityRenderingHandler(java.lang.Class<T> entityClass, IRenderFactory<? super T> renderFactory)
public static void loadEntityRenderers(RenderManager manager, java.util.Map<java.lang.Class<? extends Entity>,Render<? extends Entity>> renderMap)