Interface CompositeBlockStateModel

All Superinterfaces:
net.minecraft.client.renderer.block.model.BlockStateModel

@NonExtendable public interface CompositeBlockStateModel extends net.minecraft.client.renderer.block.model.BlockStateModel
A custom block state model that is made of one or more other block state models. Analogous to CompositeModel. Uses the first submodel to determine the particle sprite.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    An unbaked composite model made of one or more other unbaked models.

    Nested classes/interfaces inherited from interface net.minecraft.client.renderer.block.model.BlockStateModel

    net.minecraft.client.renderer.block.model.BlockStateModel.SimpleCachedUnbakedRoot, net.minecraft.client.renderer.block.model.BlockStateModel.UnbakedRoot
  • Method Summary

    Modifier and Type
    Method
    Description
    @Unmodifiable List<net.minecraft.client.renderer.block.model.BlockStateModel>
    Gets the models that make up this composite model.
    of(List<net.minecraft.client.renderer.block.model.BlockStateModel> models)
    Creates a new composite model from the given non-empty list of submodels.

    Methods inherited from interface net.minecraft.client.renderer.block.model.BlockStateModel

    collectParts, collectParts, particleIcon
  • Method Details

    • of

      static CompositeBlockStateModel of(List<net.minecraft.client.renderer.block.model.BlockStateModel> models)
      Creates a new composite model from the given non-empty list of submodels.
    • models

      @Unmodifiable List<net.minecraft.client.renderer.block.model.BlockStateModel> models()
      Gets the models that make up this composite model. The returned list will contain at least one model.