Class CompositeModelBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- net.minecraftforge.client.model.generators.loaders.CompositeModelBuilder<T>
-
public class CompositeModelBuilder<T extends ModelBuilder<T>> extends CustomLoaderBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,T>
childModels
-
Fields inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
existingFileHelper, loaderId, parent, visibility
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CompositeModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends ModelBuilder<T>>
CompositeModelBuilder<T>begin(T parent, ExistingFileHelper existingFileHelper)
CompositeModelBuilder<T>
submodel(java.lang.String name, T modelBuilder)
com.google.gson.JsonObject
toJson(com.google.gson.JsonObject json)
-
Methods inherited from class net.minecraftforge.client.model.generators.CustomLoaderBuilder
end, visibility
-
-
-
-
Field Detail
-
childModels
private final java.util.Map<java.lang.String,T extends ModelBuilder<T>> childModels
-
-
Constructor Detail
-
CompositeModelBuilder
protected CompositeModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
begin
public static <T extends ModelBuilder<T>> CompositeModelBuilder<T> begin(T parent, ExistingFileHelper existingFileHelper)
-
submodel
public CompositeModelBuilder<T> submodel(java.lang.String name, T modelBuilder)
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
- Overrides:
toJson
in classCustomLoaderBuilder<T extends ModelBuilder<T>>
-
-