Package net.minecraftforge.client.model
Class SeparatePerspectiveModel.Loader
java.lang.Object
net.minecraftforge.client.model.SeparatePerspectiveModel.Loader
- All Implemented Interfaces:
PreparableReloadListener
,ResourceManagerReloadListener
,IModelLoader<SeparatePerspectiveModel>
- Enclosing class:
- SeparatePerspectiveModel
public static class SeparatePerspectiveModel.Loader
extends Object
implements IModelLoader<SeparatePerspectiveModel>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.google.common.collect.ImmutableBiMap<String,
ItemTransforms.TransformType> Deprecated, for removal: This API element is subject to removal in a future version.static final SeparatePerspectiveModel.Loader
static final com.google.common.collect.ImmutableBiMap<String,
ItemTransforms.TransformType> Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onResourceManagerReload
(ResourceManager p_10758_) 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
-
PERSPECTIVES
@Deprecated(forRemoval=true, since="1.18.2") public static final com.google.common.collect.ImmutableBiMap<String,ItemTransforms.TransformType> PERSPECTIVESDeprecated, for removal: This API element is subject to removal in a future version. -
BACKWARD_COMPATIBILITY
@Deprecated(forRemoval=true, since="1.18.2") private static final com.google.common.collect.ImmutableBiMap<String,ItemTransforms.TransformType> BACKWARD_COMPATIBILITYDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
Loader
public Loader()
-
-
Method Details
-
onResourceManagerReload
- Specified by:
onResourceManagerReload
in interfaceResourceManagerReloadListener
-
read
public SeparatePerspectiveModel read(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelContents) - Specified by:
read
in interfaceIModelLoader<SeparatePerspectiveModel>
-