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()
IModelCustomLoader
getType
in interface IModelCustomLoader
public java.lang.String[] getSuffixes()
IModelCustomLoader
getSuffixes
in interface IModelCustomLoader
public IModelCustom loadInstance(ResourceLocation resource) throws ModelFormatException
IModelCustomLoader
loadInstance
in interface IModelCustomLoader
resource
- The ResourceLocation of the modelModelFormatException
- if the model format is not correct