Class CustomBlockStateModelBuilder
java.lang.Object
net.neoforged.neoforge.client.model.generators.blockstate.CustomBlockStateModelBuilder
- Direct Known Subclasses:
CompositeBlockStateModelBuilder
,CustomBlockStateModelBuilder.Simple
Builder for
CustomUnbakedBlockStateModel
s 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 CustomUnbakedBlockStateModel
Convert this builder to the finalCustomUnbakedBlockStateModel
for serialization.abstract CustomBlockStateModelBuilder
with
(VariantMutator variantMutator) Apply the providedVariantMutator
to this builder.abstract CustomBlockStateModelBuilder
with
(UnbakedMutator variantMutator) Apply the providedUnbakedMutator
to 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 providedVariantMutator
to this builder. -
with
Apply the providedUnbakedMutator
to the model being built by this builder and return a new builder with the mutated state. -
toUnbaked
Convert this builder to the finalCustomUnbakedBlockStateModel
for serialization.
-