Package | Description |
---|---|
net.minecraftforge.client.model.generators |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Direction,ModelBuilder.ElementBuilder.FaceBuilder> |
ModelBuilder.ElementBuilder.faces |
Modifier and Type | Method and Description |
---|---|
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.cullface(Direction dir) |
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.face(Direction dir)
Return or create the face builder for the given direction.
|
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.rotation(ModelBuilder.FaceRotation rot)
Set the texture rotation for the current face.
|
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.texture(java.lang.String texture)
Set the texture for the current face.
|
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.tintindex(int index) |
ModelBuilder.ElementBuilder.FaceBuilder |
ModelBuilder.ElementBuilder.FaceBuilder.uvs(float u1,
float v1,
float u2,
float v2) |
Modifier and Type | Method and Description |
---|---|
private java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> |
ModelBuilder.ElementBuilder.addTexture(java.lang.String texture) |
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.faces(java.util.function.BiConsumer<Direction,ModelBuilder.ElementBuilder.FaceBuilder> action)
Modify all existing faces dynamically using a function.
|