Class OBJLoader
java.lang.Object
net.minecraftforge.client.model.obj.OBJLoader
- All Implemented Interfaces:
IFutureReloadListener,IResourceManagerReloadListener,IModelLoader<OBJModel>,ISelectiveResourceReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OBJLoaderprivate IResourceManagerprivate final Map<ResourceLocation,MaterialLibrary> private final Map<OBJModel.ModelSettings,OBJModel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadMaterialLibrary(ResourceLocation materialLocation) loadModel(OBJModel.ModelSettings settings) voidonResourceManagerReload(IResourceManager resourceManager) read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resources.IFutureReloadListener
getNameMethods inherited from interface net.minecraftforge.client.model.IModelLoader
getResourceType, onResourceManagerReloadMethods inherited from interface net.minecraft.resources.IResourceManagerReloadListener
reload
-
Field Details
-
INSTANCE
-
modelCache
-
materialCache
-
manager
-
-
Constructor Details
-
OBJLoader
public OBJLoader()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReloadin interfaceIModelLoader<OBJModel>- Specified by:
onResourceManagerReloadin interfaceIResourceManagerReloadListener- Specified by:
onResourceManagerReloadin interfaceISelectiveResourceReloadListener
-
read
public OBJModel read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) - Specified by:
readin interfaceIModelLoader<OBJModel>
-
loadModel
-
loadMaterialLibrary
-