Class MultiPartBlockStateBuilder
java.lang.Object
io.github.vampirestudios.vampirelib.api.datagen.MultiPartBlockStateBuilder
- All Implemented Interfaces:
IGeneratedBlockState
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpart()Creates a builder for models to assign to aMultiPartBlockStateBuilder.PartBuilder, which when completed viaConfiguredModel.Builder.addModel()will assign the resultant set of models to the part and return it for further processing.com.google.gson.JsonObjecttoJson()
-
Constructor Details
-
MultiPartBlockStateBuilder
public MultiPartBlockStateBuilder(net.minecraft.world.level.block.Block owner)
-
-
Method Details
-
part
Creates a builder for models to assign to aMultiPartBlockStateBuilder.PartBuilder, which when completed viaConfiguredModel.Builder.addModel()will assign the resultant set of models to the part and return it for further processing.- Returns:
- the model builder
- See Also:
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJsonin interfaceIGeneratedBlockState
-