Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

helix / ModelFace

Interface: ModelFace โ€‹

Defined in: core/values/model-element.ts:6

One face of a ModelElement. texture is a slot reference like "#all".

Properties โ€‹

cullface? โ€‹

optional cullface?: Direction

Defined in: core/values/model-element.ts:11

Skips drawing the face when the block on this side hides it.


rotation? โ€‹

optional rotation?: 0 | 90 | 180 | 270

Defined in: core/values/model-element.ts:12


texture โ€‹

texture: string

Defined in: core/values/model-element.ts:7


tintindex? โ€‹

optional tintindex?: number

Defined in: core/values/model-element.ts:13


uv? โ€‹

optional uv?: [number, number, number, number]

Defined in: core/values/model-element.ts:9

[x1, y1, x2, y2] in pixels; defaults to the element's own bounds.

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.