public final class MultiPartBlockStateBuilder extends java.lang.Object implements IGeneratedBlockstate
| Modifier and Type | Class and Description |
|---|---|
class |
MultiPartBlockStateBuilder.PartBuilder |
| Modifier and Type | Field and Description |
|---|---|
private Block |
owner |
private java.util.List<MultiPartBlockStateBuilder.PartBuilder> |
parts |
| Constructor and Description |
|---|
MultiPartBlockStateBuilder(Block owner) |
| Modifier and Type | Method and Description |
|---|---|
(package private) MultiPartBlockStateBuilder |
addPart(MultiPartBlockStateBuilder.PartBuilder part) |
ConfiguredModel.Builder<MultiPartBlockStateBuilder.PartBuilder> |
part()
Creates a builder for models to assign to a
MultiPartBlockStateBuilder.PartBuilder, which when
completed via ConfiguredModel.Builder.addModel() will assign the
resultant set of models to the part and return it for further processing. |
com.google.gson.JsonObject |
toJson() |
private final java.util.List<MultiPartBlockStateBuilder.PartBuilder> parts
private final Block owner
public MultiPartBlockStateBuilder(Block owner)
public ConfiguredModel.Builder<MultiPartBlockStateBuilder.PartBuilder> part()
MultiPartBlockStateBuilder.PartBuilder, which when
completed via ConfiguredModel.Builder.addModel() will assign the
resultant set of models to the part and return it for further processing.ConfiguredModel.BuilderMultiPartBlockStateBuilder addPart(MultiPartBlockStateBuilder.PartBuilder part)
public com.google.gson.JsonObject toJson()
toJson in interface IGeneratedBlockstate