类 ItemLayerModel

java.lang.Object
net.minecraftforge.client.model.ItemLayerModel
所有已实现的接口:
IUnbakedGeometry<ItemLayerModel>

public class ItemLayerModel extends Object implements IUnbakedGeometry<ItemLayerModel>
Forge reimplementation of vanilla's ItemModelGenerator, i.e. builtin/generated models with some tweaks: - Represented as IUnbakedGeometry so it can be baked as usual instead of being special-cased - Not limited to an arbitrary number of layers (5) - Support for per-layer render types
  • 字段详细资料

    • textures

      @Nullable private @Nullable com.google.common.collect.ImmutableList<Material> textures
    • renderTypeNames

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames
    • renderTypeFastNames

      private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeFastNames
  • 构造器详细资料

    • ItemLayerModel

      private ItemLayerModel(@Nullable @Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames)
    • ItemLayerModel

      private ItemLayerModel(@Nullable @Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeFastNames)
  • 方法详细资料