Class MultiPartBlockStateBuilder
java.lang.Object
net.minecraftforge.client.model.generators.MultiPartBlockStateBuilder
- All Implemented Interfaces:
IGeneratedBlockstate
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) MultiPartBlockStateBuilder
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.com.google.gson.JsonObject
toJson()
private static com.google.gson.JsonObject
toJson(com.google.common.collect.Multimap<Property<?>,Comparable<?>> conditions, boolean useOr)
private static com.google.gson.JsonObject
toJson(List<MultiPartBlockStateBuilder.PartBuilder.ConditionGroup> conditions, boolean useOr)
-
Field Details
-
parts
-
owner
-
-
Constructor Details
-
MultiPartBlockStateBuilder
-
-
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:
ConfiguredModel.Builder
-
addPart
-
toJson
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceIGeneratedBlockstate
-
toJson
private static com.google.gson.JsonObject toJson(List<MultiPartBlockStateBuilder.PartBuilder.ConditionGroup> conditions, boolean useOr) -
toJson
private static com.google.gson.JsonObject toJson(com.google.common.collect.Multimap<Property<?>,Comparable<?>> conditions, boolean useOr)
-