Class MultiLayerModelBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- net.minecraftforge.client.model.generators.loaders.MultiLayerModelBuilder<T>
-
public class MultiLayerModelBuilder<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
MultiLayerModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends ModelBuilder<T>>
MultiLayerModelBuilder<T>begin(T parent, ExistingFileHelper existingFileHelper)
MultiLayerModelBuilder<T>
submodel(RenderType layer, 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
-
MultiLayerModelBuilder
protected MultiLayerModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
begin
public static <T extends ModelBuilder<T>> MultiLayerModelBuilder<T> begin(T parent, ExistingFileHelper existingFileHelper)
-
submodel
public MultiLayerModelBuilder<T> submodel(RenderType layer, T modelBuilder)
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
- Overrides:
toJson
in classCustomLoaderBuilder<T extends ModelBuilder<T>>
-
-