类 ItemLayerModel
java.lang.Object
net.minecraftforge.client.model.ItemLayerModel
- 所有已实现的接口:
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-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> private final it.unimi.dsi.fastutil.ints.Int2ObjectMap
<ResourceLocation> private @Nullable com.google.common.collect.ImmutableList
<Material> -
构造器概要
构造器限定符构造器说明private
ItemLayerModel
(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames) private
ItemLayerModel
(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeFastNames) -
方法概要
修饰符和类型方法说明bake
(IGeometryBakingContext context, ModelBaker baker, TextureSlots spriteGetter, ModelState modelState) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.client.model.geometry.IUnbakedGeometry
getConfigurableComponentNames, resolveDependencies
-
字段详细资料
-
textures
-
renderTypeNames
-
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)
-
-
方法详细资料
-
bake
public BakedModel bake(IGeometryBakingContext context, ModelBaker baker, TextureSlots spriteGetter, ModelState modelState) - 指定者:
bake
在接口中IUnbakedGeometry<ItemLayerModel>
-