public class ItemModelBuilder extends ModelBuilder<ItemModelBuilder>
override()
.Modifier and Type | Class and Description |
---|---|
class |
ItemModelBuilder.OverrideBuilder |
ModelBuilder.ElementBuilder, ModelBuilder.FaceRotation, ModelBuilder.Perspective, ModelBuilder.TransformsBuilder
ModelFile.ExistingModelFile, ModelFile.UncheckedModelFile
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ItemModelBuilder.OverrideBuilder> |
overrides |
ambientOcclusion, elements, existingFileHelper, guiLight, parent, textures, transforms
Constructor and Description |
---|
ItemModelBuilder(ResourceLocation outputLocation,
ExistingFileHelper existingFileHelper) |
Modifier and Type | Method and Description |
---|---|
ItemModelBuilder.OverrideBuilder |
override() |
ItemModelBuilder.OverrideBuilder |
override(int index)
Get an existing override builder
|
com.google.gson.JsonObject |
toJson() |
ao, element, element, exists, gui3d, guiLight, parent, serializeLoc, texture, texture, transforms
assertExistence, getLocation, getUncheckedLocation
protected java.util.List<ItemModelBuilder.OverrideBuilder> overrides
public ItemModelBuilder(ResourceLocation outputLocation, ExistingFileHelper existingFileHelper)
public ItemModelBuilder.OverrideBuilder override()
public ItemModelBuilder.OverrideBuilder override(int index)
index
- the index of the existing override builderjava.lang.IndexOutOfBoundsException
- if index is out of boundspublic com.google.gson.JsonObject toJson()
toJson
in class ModelBuilder<ItemModelBuilder>