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