Class SeparatePerspectiveModelBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- net.minecraftforge.client.model.generators.loaders.SeparatePerspectiveModelBuilder<T>
-
public class SeparatePerspectiveModelBuilder<T extends ModelBuilder<T>> extends CustomLoaderBuilder<T>
-
-
Field Summary
Fields Modifier and Type Field Description private T
base
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
SeparatePerspectiveModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SeparatePerspectiveModelBuilder<T>
base(T modelBuilder)
static <T extends ModelBuilder<T>>
SeparatePerspectiveModelBuilder<T>begin(T parent, ExistingFileHelper existingFileHelper)
SeparatePerspectiveModelBuilder<T>
perspective(ItemCameraTransforms.TransformType perspective, 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
-
base
private T extends ModelBuilder<T> base
-
childModels
private final java.util.Map<java.lang.String,T extends ModelBuilder<T>> childModels
-
-
Constructor Detail
-
SeparatePerspectiveModelBuilder
protected SeparatePerspectiveModelBuilder(T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
begin
public static <T extends ModelBuilder<T>> SeparatePerspectiveModelBuilder<T> begin(T parent, ExistingFileHelper existingFileHelper)
-
base
public SeparatePerspectiveModelBuilder<T> base(T modelBuilder)
-
perspective
public SeparatePerspectiveModelBuilder<T> perspective(ItemCameraTransforms.TransformType perspective, T modelBuilder)
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
- Overrides:
toJson
in classCustomLoaderBuilder<T extends ModelBuilder<T>>
-
-