Class CustomLoaderBuilder<T extends ModelBuilder<T>>
- java.lang.Object
-
- net.minecraftforge.client.model.generators.CustomLoaderBuilder<T>
-
- Direct Known Subclasses:
CompositeModelBuilder
,DynamicBucketModelBuilder
,ItemLayersModelBuilder
,MultiLayerModelBuilder
,OBJLoaderBuilder
,SeparatePerspectiveModelBuilder
public abstract class CustomLoaderBuilder<T extends ModelBuilder<T>> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ExistingFileHelper
existingFileHelper
protected ResourceLocation
loaderId
protected T
parent
protected java.util.Map<java.lang.String,java.lang.Boolean>
visibility
-
Constructor Summary
Constructors Modifier Constructor Description protected
CustomLoaderBuilder(ResourceLocation loaderId, T parent, ExistingFileHelper existingFileHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
end()
com.google.gson.JsonObject
toJson(com.google.gson.JsonObject json)
CustomLoaderBuilder<T>
visibility(java.lang.String partName, boolean show)
-
-
-
Field Detail
-
loaderId
protected final ResourceLocation loaderId
-
parent
protected final T extends ModelBuilder<T> parent
-
existingFileHelper
protected final ExistingFileHelper existingFileHelper
-
visibility
protected final java.util.Map<java.lang.String,java.lang.Boolean> visibility
-
-
Constructor Detail
-
CustomLoaderBuilder
protected CustomLoaderBuilder(ResourceLocation loaderId, T parent, ExistingFileHelper existingFileHelper)
-
-
Method Detail
-
visibility
public CustomLoaderBuilder<T> visibility(java.lang.String partName, boolean show)
-
end
public T end()
-
toJson
public com.google.gson.JsonObject toJson(com.google.gson.JsonObject json)
-
-