public class OBJLoader2 extends java.lang.Object implements IModelLoader<OBJModel2>
IFutureReloadListener.IStage
Modifier and Type | Field and Description |
---|---|
static OBJLoader2 |
INSTANCE |
Constructor and Description |
---|
OBJLoader2() |
Modifier and Type | Method and Description |
---|---|
MaterialLibrary2 |
loadMaterialLibrary(ResourceLocation materialLocation) |
OBJModel2 |
loadModel(OBJModel2.ModelSettings settings) |
void |
onResourceManagerReload(IResourceManager resourceManager) |
OBJModel2 |
read(com.google.gson.JsonDeserializationContext deserializationContext,
com.google.gson.JsonObject modelContents) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResourceType, onResourceManagerReload
reload
public static OBJLoader2 INSTANCE
public void onResourceManagerReload(IResourceManager resourceManager)
onResourceManagerReload
in interface IResourceManagerReloadListener
onResourceManagerReload
in interface IModelLoader<OBJModel2>
onResourceManagerReload
in interface ISelectiveResourceReloadListener
public OBJModel2 read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents)
read
in interface IModelLoader<OBJModel2>
public OBJModel2 loadModel(OBJModel2.ModelSettings settings)
public MaterialLibrary2 loadMaterialLibrary(ResourceLocation materialLocation)