Class ItemLayerModel.Loader

java.lang.Object
net.neoforged.neoforge.client.model.ItemLayerModel.Loader
All Implemented Interfaces:
IGeometryLoader<ItemLayerModel>
Enclosing class:
ItemLayerModel

public static final class ItemLayerModel.Loader extends Object implements IGeometryLoader<ItemLayerModel>
  • Field Details

  • 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 interface IGeometryLoader<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<ExtraFaceData> layerData, boolean logWarning)