Package net.minecraftforge.client.model
Class MultiLayerModel.Loader
java.lang.Object
net.minecraftforge.client.model.MultiLayerModel.Loader
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
,IModelLoader<MultiLayerModel>
- Enclosing class:
- MultiLayerModel
public static final class MultiLayerModel.Loader
extends Object
implements IModelLoader<MultiLayerModel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.google.common.collect.ImmutableBiMap<String,RenderType>
static MultiLayerModel.Loader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
getResourceType, reload
-
Field Details
-
BLOCK_LAYERS
-
INSTANCE
-
-
Constructor Details
-
Loader
private Loader()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
read
public MultiLayerModel read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents)- Specified by:
read
in interfaceIModelLoader<MultiLayerModel>
-