Search the docs

Find a guide, global, type or member

TypeEmber

DisplayOptions

Options for entities.itemDisplay, blockDisplay and textDisplay, plus an initial Pose.

Fields

displayOptions.translation: Vector?#

Offset from the entity's position, in blocks.

displayOptions.scale: Vector?#

Size on each axis; 1 is normal size.

displayOptions.rotation: Rotation?#

left rotation, applied before scale

displayOptions.rightRotation: Rotation?#

applied after scale

displayOptions.seconds: number?#

how long the client animates to this pose; 0 snaps

displayOptions.delay: number?#

seconds before that animation starts

displayOptions.billboard: Billboard?#

default "fixed"

displayOptions.viewRange: number?#

view distance multiplier, default 1

displayOptions.brightness: number?#

0..15 light level; nil uses the world's light

displayOptions.teleportSeconds: number?#

how long the client smooths a teleport; default 0

displayOptions.background: number?#

0xAARRGGBB, text displays only

displayOptions.shadow: boolean?#

item/block: casts a shadow; text: text shadow. default false

displayOptions.yaw: number?#

degrees, default 0