Class CustomBlockStateModelBuilder
java.lang.Object
net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
- Direct Known Subclasses:
CompositeBlockStateModelBuilder,CustomBlockStateModelBuilder.Simple
Builder for
CustomUnbakedBlockStateModels to allow using them with MultiVariantGenerator and
MultiPartGenerator by plugging them into MultiVariant-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CustomUnbakedBlockStateModelConvert this builder to the finalCustomUnbakedBlockStateModelfor serialization.abstract CustomBlockStateModelBuilderwith(VariantMutator variantMutator) Apply the providedVariantMutatorto this builder.abstract CustomBlockStateModelBuilderwith(UnbakedMutator variantMutator) Apply the providedUnbakedMutatorto the model being built by this builder and return a new builder with the mutated state.
-
Constructor Details
-
CustomBlockStateModelBuilder
protected CustomBlockStateModelBuilder()
-
-
Method Details
-
with
Apply the providedVariantMutatorto this builder. -
with
Apply the providedUnbakedMutatorto the model being built by this builder and return a new builder with the mutated state. -
toUnbaked
Convert this builder to the finalCustomUnbakedBlockStateModelfor serialization.
-