Package | Description |
---|---|
net.minecraftforge.client.model.generators |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ModelBuilder.ElementBuilder> |
ModelBuilder.elements |
Modifier and Type | Method and Description |
---|---|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.allFaces(java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> action)
Modify all possible faces dynamically using a function, creating new
faces as necessary.
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.cube(java.lang.String texture)
Create a typical cube element, creating new faces as needed, applying the
given texture, and setting the cullface.
|
ModelBuilder.ElementBuilder |
ModelBuilder.element() |
ModelBuilder.ElementBuilder |
ModelBuilder.element(int index)
Get an existing element builder
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.end() |
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.RotationBuilder.end() |
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.faces(java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> action)
Modify all existing faces dynamically using a function.
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.from(float x,
float y,
float z)
Set the "from" position for this element.
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.shade(boolean shade) |
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.texture(java.lang.String texture)
Texture all existing faces in the current element with the given
texture.
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.textureAll(java.lang.String texture)
Texture all possible faces in the current element with the given
texture, creating new faces where necessary.
|
ModelBuilder.ElementBuilder |
ModelBuilder.ElementBuilder.to(float x,
float y,
float z)
Set the "to" position for this element.
|