Class CompositeBlockStateModelBuilder
java.lang.Object
net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
net.neoforged.neoforge.client.model.generators.blockstate.CompositeBlockStateModelBuilder
This builder creates a
CompositeBlockModel.Unbaked.-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
CustomBlockStateModelBuilder.Simple -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPartModel(BlockStateModel.Unbaked partModel) Add a part model to this composite modelConvert this builder to the finalCustomUnbakedBlockStateModelfor serialization.with(VariantMutator variantMutator) Apply the providedVariantMutatorto this builder.with(UnbakedMutator variantMutator) Apply the providedUnbakedMutatorto the model being built by this builder and return a new builder with the mutated state.
-
Field Details
-
models
-
-
Constructor Details
-
CompositeBlockStateModelBuilder
public CompositeBlockStateModelBuilder()
-
-
Method Details
-
addPartModel
Add a part model to this composite model -
with
Description copied from class:CustomBlockStateModelBuilderApply the providedVariantMutatorto this builder.- Specified by:
within classCustomBlockStateModelBuilder
-
with
Description copied from class:CustomBlockStateModelBuilderApply the providedUnbakedMutatorto the model being built by this builder and return a new builder with the mutated state.- Specified by:
within classCustomBlockStateModelBuilder
-
toUnbaked
Description copied from class:CustomBlockStateModelBuilderConvert this builder to the finalCustomUnbakedBlockStateModelfor serialization.- Specified by:
toUnbakedin classCustomBlockStateModelBuilder
-