类 ItemLayerModel.Loader
java.lang.Object
net.minecraftforge.client.model.ItemLayerModel.Loader
- 所有已实现的接口:
IGeometryLoader<ItemLayerModel>
- 封闭类:
ItemLayerModel
public static final class ItemLayerModel.Loader
extends Object
implements IGeometryLoader<ItemLayerModel>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明read
(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) 已过时, 待删除: 此 API 元素将从以后的版本中删除。private static it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> readRenderTypeNames
(com.google.gson.JsonObject jsonObject, String key)
-
字段详细资料
-
INSTANCE
-
-
构造器详细资料
-
Loader
public Loader()
-
-
方法详细资料
-
read
public ItemLayerModel read(com.google.gson.JsonObject jsonObject, com.google.gson.JsonDeserializationContext deserializationContext) - 指定者:
read
在接口中IGeometryLoader<ItemLayerModel>
-
readRenderTypeNames
private static it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> readRenderTypeNames(com.google.gson.JsonObject jsonObject, String key) -
readLayerData
@Deprecated(forRemoval=true, since="1.21.4") 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) 已过时, 待删除: 此 API 元素将从以后的版本中删除。
-