Face

constructor(uv: Vector4dc?, texture: String, cullface: Model.Direction?, rotation: Int, tintIndex: Int)

Parameters

uv

The area of the texture in the format (fromX, fromY, toX, toY).

texture

The name of the texture. Resolved from the Model.textures map.

cullface

Used to check whether the face does not need to be rendered if an occluding block is present in the given direction.

rotation

The rotation of the texture.

tintIndex

Specifies the tint color for certain block- and item types.