@Deprecated public enum OBJLoader extends java.lang.Enum<OBJLoader> implements ICustomModelLoader
IFutureReloadListener.IStage| Enum Constant and Description |
|---|
INSTANCE
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(ResourceLocation modelLocation)
Deprecated.
Checks if given model should be loaded by this loader.
|
void |
addDomain(java.lang.String domain)
Deprecated.
|
IUnbakedModel |
loadModel(ResourceLocation modelLocation)
Deprecated.
|
void |
onResourceManagerReload(IResourceManager resourceManager)
Deprecated.
|
static OBJLoader |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static OBJLoader[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetResourceType, onResourceManagerReloadreloadpublic static final OBJLoader INSTANCE
public static OBJLoader[] values()
for (OBJLoader c : OBJLoader.values()) System.out.println(c);
public static OBJLoader valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void addDomain(java.lang.String domain)
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload in interface IResourceManagerReloadListeneronResourceManagerReload in interface ICustomModelLoaderonResourceManagerReload in interface ISelectiveResourceReloadListenerpublic boolean accepts(ResourceLocation modelLocation)
ICustomModelLoaderaccepts in interface ICustomModelLoadermodelLocation - The path, either to an actual file or a ModelResourceLocation.public IUnbakedModel loadModel(ResourceLocation modelLocation) throws java.lang.Exception
loadModel in interface ICustomModelLoadermodelLocation - The model to (re)load, either path to an
actual file or a ModelResourceLocation.java.lang.Exception