Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

entities.BlockOptions

A block display.

Fields

blockOptions.at: vector
#

where it stands

blockOptions.billboard: entities.Billboard?
#

default "fixed"

blockOptions.block: entities.Shared<string>
#

the block id drawn

blockOptions.glow: entities.Shared<number?>?
#

outline colour, 0xRRGGBB; nil for none

blockOptions.hitbox: entities.Hitbox?
#

makes it clickable

blockOptions.look: types.Look?
#

which way it faces

blockOptions.offset: vector?
#

shifts the drawing from at without moving the entity or its hitbox; default none

blockOptions.scale: number?
#

default 1

blockOptions.state: { [string]: types.StateValue }?
#

state properties of the block; those not named take their defaults

blockOptions.viewRange: number?
#

in blocks; default 64