Class ModelBuilder.ElementBuilder.FaceBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder.FaceBuilder
- Enclosing class:
- ModelBuilder.ElementBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) BlockPartFacebuild()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- iftextureisnull
-
uvs
-
rotation
Set the texture rotation for the current face.- Parameters:
rot- the rotation- Returns:
- this builder
- Throws:
NullPointerException- ifrotisnull
-
build
BlockPartFace build() -
end
-