public class ModelLoaderRegistry
extends java.lang.Object
Constructor and Description |
---|
ModelLoaderRegistry() |
Modifier and Type | Method and Description |
---|---|
static void |
clearModelCache() |
static ResourceLocation |
getActualLocation(ResourceLocation location) |
static IModel |
getMissingModel() |
static IModel |
getModel(ResourceLocation location)
Primary method to get IModel instances.
|
static boolean |
loaded(ResourceLocation location) |
static void |
registerLoader(ICustomModelLoader loader) |
public static void registerLoader(ICustomModelLoader loader)
public static boolean loaded(ResourceLocation location)
public static ResourceLocation getActualLocation(ResourceLocation location)
public static IModel getModel(ResourceLocation location) throws java.io.IOException
java.io.IOException
public static IModel getMissingModel()
public static void clearModelCache()