Package net.minecraftforge.client.model
Class ModelLoaderRegistry.VanillaProxy.Loader
java.lang.Object
net.minecraftforge.client.model.ModelLoaderRegistry.VanillaProxy.Loader
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
,IModelLoader<ModelLoaderRegistry.VanillaProxy>
- Enclosing class:
- ModelLoaderRegistry.VanillaProxy
public static class ModelLoaderRegistry.VanillaProxy.Loader
extends Object
implements IModelLoader<ModelLoaderRegistry.VanillaProxy>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<BlockElement>
getModelElements
(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object) void
onResourceManagerReload
(ResourceManager 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, wait
Methods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
Methods inherited from interface net.minecraft.server.packs.resources.ResourceManagerReloadListener
reload
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Loader
private Loader()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
read
public ModelLoaderRegistry.VanillaProxy read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) - Specified by:
read
in interfaceIModelLoader<ModelLoaderRegistry.VanillaProxy>
-
getModelElements
private List<BlockElement> getModelElements(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject object)
-