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

helix / BlockStateVariant

Interface: BlockStateVariant โ€‹

Defined in: core/values/block-state.ts:5

One model in a blockstate file, with optional x/y rotation, uvlock and weight.

Properties โ€‹

model โ€‹

model: string | ModelRef

Defined in: core/values/block-state.ts:7

The block model to render - a ModelRef (dp.blockModel(...)) or <ns>:block/x.


uvlock? โ€‹

optional uvlock?: boolean

Defined in: core/values/block-state.ts:10


weight? โ€‹

optional weight?: number

Defined in: core/values/block-state.ts:11


x? โ€‹

optional x?: number

Defined in: core/values/block-state.ts:8


y? โ€‹

optional y?: number

Defined in: core/values/block-state.ts:9

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