类 ModelBuilder.ElementBuilder.FaceBuilder
java.lang.Object
net.minecraftforge.client.model.generators.ModelBuilder.ElementBuilder.FaceBuilder
-
字段概要
字段修饰符和类型字段说明private Direction
private ForgeFaceData
private ModelBuilder.FaceRotation
private String
private int
private float[]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明ao
(boolean ao) Set the ambient occlusion of the face.(专用程序包) BlockElementFace
build()
calculateNormals
(boolean calc) Sets whether we should calculate actual normals for this face or inherit them from facing the way vanilla doescolor
(int color) Sets the color of the face.data
(ForgeFaceData data) emissivity
(int blockLight, int skyLight) Set the block and sky light of the face (0-15).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)
-
字段详细资料
-
cullface
-
tintindex
private int tintindex -
texture
-
uvs
private float[] uvs -
rotation
-
data
-
-
构造器详细资料
-
FaceBuilder
FaceBuilder(Direction dir)
-
-
方法详细资料
-
cullface
-
tintindex
-
texture
Set the texture for the current face.- 参数:
texture
- the texture- 返回:
- this builder
- 抛出:
NullPointerException
- iftexture
isnull
-
uvs
-
rotation
Set the texture rotation for the current face.- 参数:
rot
- the rotation- 返回:
- this builder
- 抛出:
NullPointerException
- ifrot
isnull
-
emissivity
Set the block and sky light of the face (0-15). Traditional "emissivity" values set both of these to the same value.- 参数:
blockLight
- the block lightskyLight
- the sky light- 返回:
- this builder
-
color
Sets the color of the face.- 参数:
color
- the color in ARGB format.- 返回:
- this builder
-
ao
Set the ambient occlusion of the face.- 参数:
ao
- the ambient occlusion- 返回:
- this builder
-
calculateNormals
Sets whether we should calculate actual normals for this face or inherit them from facing the way vanilla does- 参数:
calc
- whether to calculate normals- 返回:
- this builder
-
data
-
build
BlockElementFace build() -
end
-