Package net.minecraftforge.client.model
Class ModelLoaderRegistry.VanillaProxy.Loader
- java.lang.Object
-
- net.minecraftforge.client.model.ModelLoaderRegistry.VanillaProxy.Loader
-
- All Implemented Interfaces:
IFutureReloadListener
,IResourceManagerReloadListener
,IModelLoader<ModelLoaderRegistry.VanillaProxy>
,ISelectiveResourceReloadListener
- Enclosing class:
- ModelLoaderRegistry.VanillaProxy
public static class ModelLoaderRegistry.VanillaProxy.Loader extends java.lang.Object implements IModelLoader<ModelLoaderRegistry.VanillaProxy>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.resources.IFutureReloadListener
IFutureReloadListener.IStage
-
-
Field Summary
Fields Modifier and Type Field Description static ModelLoaderRegistry.VanillaProxy.Loader
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
Loader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.util.List<BlockPart>
getModelElements(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
void
onResourceManagerReload(IResourceManager resourceManager)
ModelLoaderRegistry.VanillaProxy
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, wait
-
Methods inherited from interface net.minecraft.resources.IFutureReloadListener
getName
-
Methods inherited from interface net.minecraftforge.client.model.IModelLoader
getResourceType, onResourceManagerReload
-
Methods inherited from interface net.minecraft.resources.IResourceManagerReloadListener
reload
-
-
-
-
Field Detail
-
INSTANCE
public static final ModelLoaderRegistry.VanillaProxy.Loader INSTANCE
-
-
Method Detail
-
onResourceManagerReload
public void onResourceManagerReload(IResourceManager resourceManager)
- Specified by:
onResourceManagerReload
in interfaceIModelLoader<ModelLoaderRegistry.VanillaProxy>
- Specified by:
onResourceManagerReload
in interfaceIResourceManagerReloadListener
- Specified by:
onResourceManagerReload
in interfaceISelectiveResourceReloadListener
-
read
public ModelLoaderRegistry.VanillaProxy read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents)
- Specified by:
read
in interfaceIModelLoader<ModelLoaderRegistry.VanillaProxy>
-
getModelElements
private java.util.List<BlockPart> getModelElements(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
-
-