Class ModelBuilder.ElementBuilder.FaceBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder.FaceBuilder
- Enclosing class:
- ModelBuilder.ElementBuilder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) BlockElementFace
build()
end()
Set the texture rotation for the current face.Set the texture for the current face.tintindex(int index)
uvs(float u1, float v1, float u2, float v2)
-
Field Details
-
cullface
-
tintindex
private int tintindex -
texture
-
uvs
private float[] uvs -
rotation
-
-
Constructor Details
-
FaceBuilder
FaceBuilder(Direction dir)
-
-
Method Details
-
cullface
-
tintindex
-
texture
Set the texture for the current face.- Parameters:
texture
- the texture- Returns:
- this builder
- Throws:
NullPointerException
- iftexture
isnull
-
uvs
-
rotation
Set the texture rotation for the current face.- Parameters:
rot
- the rotation- Returns:
- this builder
- Throws:
NullPointerException
- ifrot
isnull
-
build
BlockElementFace build() -
end
-