Package net.minecraftforge.client.model
Class ItemLayerModel.Loader
java.lang.Object
net.minecraftforge.client.model.ItemLayerModel.Loader
- All Implemented Interfaces:
IGeometryLoader<ItemLayerModel>
- Enclosing class:
- ItemLayerModel
public static final class ItemLayerModel.Loader
extends Object
implements IGeometryLoader<ItemLayerModel>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
static final ItemLayerModel.Loader
static final ItemLayerModel.Loader
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) private boolean
readUnlit
(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.IntOpenHashSet litLayers, boolean logWarning)
-
Field Details
-
INSTANCE
-
INSTANCE_DEPRECATED
@Deprecated(forRemoval=true, since="1.19") public static final ItemLayerModel.Loader INSTANCE_DEPRECATEDDeprecated, for removal: This API element is subject to removal in a future version. -
deprecated
private final boolean deprecated
-
-
Constructor Details
-
Loader
private Loader(boolean deprecated)
-
-
Method Details
-
read
public ItemLayerModel read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) - Specified by:
read
in interfaceIGeometryLoader<ItemLayerModel>
-
readUnlit
private boolean readUnlit(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.IntOpenHashSet litLayers, boolean logWarning)
-