Interface CompositeBlockStateModel
- All Superinterfaces:
BlockStateModel
A custom block state model that is made of one or more other block state models. Analogous to
CompositeItemModel
. Uses the first submodel to determine the particle sprite.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
An unbaked composite model made of one or more other unbaked models.Nested classes/interfaces inherited from interface net.minecraft.client.render.model.BlockStateModel
BlockStateModel.CachedUnbaked, BlockStateModel.UnbakedGrouped
-
Method Summary
Modifier and TypeMethodDescription@Unmodifiable List
<BlockStateModel> models()
Gets the models that make up this composite model.static CompositeBlockStateModel
of
(List<BlockStateModel> models) Creates a new composite model from the given non-empty list of submodels.Methods inherited from interface net.minecraft.client.render.model.BlockStateModel
addParts, getParts, particleSprite
-
Method Details
-
of
Creates a new composite model from the given non-empty list of submodels. -
models
@Unmodifiable List<BlockStateModel> models()Gets the models that make up this composite model. The returned list will contain at least one model.
-