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_LAYERSstatic MultiLayerModel.LoaderINSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description privateLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonResourceManagerReload(IResourceManager resourceManager)MultiLayerModelread(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:
onResourceManagerReloadin interfaceIModelLoader<MultiLayerModel>- Specified by:
onResourceManagerReloadin interfaceIResourceManagerReloadListener- Specified by:
onResourceManagerReloadin interfaceISelectiveResourceReloadListener
-
read
public MultiLayerModel read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents)
- Specified by:
readin interfaceIModelLoader<MultiLayerModel>
-
-