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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) protected void
readLayerData
(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ForgeFaceData> layerData, boolean logWarning)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Loader
public Loader()
-
-
Method Details
-
read
public ItemLayerModel read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) - Specified by:
read
in interfaceIGeometryLoader<ItemLayerModel>
-
readLayerData
protected void readLayerData(com.google.gson.JsonObject jsonObject, String name, it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ForgeFaceData> layerData, boolean logWarning)
-