public class ObjModelLoader extends java.lang.Object implements IModelCustomLoader
| Constructor and Description |
|---|
ObjModelLoader() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getSuffixes()
Get resource suffixes this model loader recognizes
|
java.lang.String |
getType()
Get the main type name for this loader
|
IModelCustom |
loadInstance(ResourceLocation resource)
Load a model instance from the supplied path
|
public java.lang.String getType()
IModelCustomLoadergetType in interface IModelCustomLoaderpublic java.lang.String[] getSuffixes()
IModelCustomLoadergetSuffixes in interface IModelCustomLoaderpublic IModelCustom loadInstance(ResourceLocation resource) throws ModelFormatException
IModelCustomLoaderloadInstance in interface IModelCustomLoaderresource - The ResourceLocation of the modelModelFormatException - if the model format is not correct