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