Experimental

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

Report a problem

entities.ItemOptions

An item display.

Fields

itemOptions.at: vector
#

where it stands

itemOptions.billboard: entities.Billboard?
#

default "fixed"

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

outline colour, 0xRRGGBB; nil for none

itemOptions.hitbox: entities.Hitbox?
#

makes it clickable

itemOptions.item: entities.Shared<(types.ItemStack | string)?>?
#

the item drawn; while it reads nil the display draws nothing

itemOptions.look: types.Look?
#

which way it faces

itemOptions.model: string?
#

a model key from content.model drawn on its own, instead of item

itemOptions.offset: vector?
#

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

itemOptions.scale: number?
#

default 1

itemOptions.viewRange: number?
#

in blocks; default 64