类 CompositeModel
java.lang.Object
net.minecraftforge.client.model.CompositeModel
- 所有已实现的接口:
IUnbakedGeometry<CompositeModel>
A model composed of several named children.
These respect component visibility as specified in IGeometryBakingContext
and can additionally be provided
with an item-specific render ordering, for multi-pass arrangements.
-
嵌套类概要
嵌套类修饰符和类型类说明static class
static class
A model data container which stores data for child components.static final class
-
字段概要
字段修饰符和类型字段说明private final com.google.common.collect.ImmutableMap
<String, BlockModel> private final com.google.common.collect.ImmutableList
<String> -
构造器概要
构造器构造器说明CompositeModel
(com.google.common.collect.ImmutableMap<String, BlockModel> children, com.google.common.collect.ImmutableList<String> itemPasses) -
方法概要
修饰符和类型方法说明bake
(IGeometryBakingContext context, ModelBaker baker, TextureSlots textures, ModelState modelState) 返回 a set of all the components whose visibility may be configured viaIGeometryBakingContext
。void
resolveDependencies
(ResolvableModel.Resolver resolver, IGeometryBakingContext context) Resolve parents of nestedBlockModel
s which are later used inIUnbakedGeometry.bake(IGeometryBakingContext, ModelBaker, TextureSlots, ModelState)
via引用无效
BlockModel#resolveParents(Function)
-
字段详细资料
-
children
-
itemPasses
-
-
构造器详细资料
-
CompositeModel
public CompositeModel(com.google.common.collect.ImmutableMap<String, BlockModel> children, com.google.common.collect.ImmutableList<String> itemPasses)
-
-
方法详细资料
-
bake
public BakedModel bake(IGeometryBakingContext context, ModelBaker baker, TextureSlots textures, ModelState modelState) - 指定者:
bake
在接口中IUnbakedGeometry<CompositeModel>
-
resolveDependencies
从接口复制的说明:IUnbakedGeometry
Resolve parents of nestedBlockModel
s which are later used inIUnbakedGeometry.bake(IGeometryBakingContext, ModelBaker, TextureSlots, ModelState)
via引用无效
BlockModel#resolveParents(Function)
- 指定者:
resolveDependencies
在接口中IUnbakedGeometry<CompositeModel>
-
getConfigurableComponentNames
从接口复制的说明:IUnbakedGeometry
返回 a set of all the components whose visibility may be configured viaIGeometryBakingContext
。- 指定者:
getConfigurableComponentNames
在接口中IUnbakedGeometry<CompositeModel>
- 返回:
- a set of all the components whose visibility may be configured via
IGeometryBakingContext
-