Skip to content

helix / BlockStateVariant

Interface: BlockStateVariant

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

One applied model in a blockstate file: which model to show, plus the optional rotation (x/y, multiples of 90), uvlock, and random-weight.

Properties

model

model: string | ModelRef

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

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


uvlock?

optional uvlock?: boolean

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


weight?

optional weight?: number

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


x?

optional x?: number

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


y?

optional y?: number

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

Released under the MIT License · Credits