Type@ember/entities
entities.TextOptions
A text display.
Fields
textOptions.at: vectorwhere it stands
textOptions.background: (boolean | number)?true for the vanilla grey panel, or a colour 0xAARRGGBB; default none
textOptions.lineWidth: number?in pixels before wrapping; default 200
textOptions.offset: vector?shifts the drawing from at without moving the entity or its hitbox; default none
textOptions.scale: number?default 1
textOptions.shadow: boolean?draws the text with a shadow; default false
textOptions.text: entities.Shared<types.MiniMessage>the MiniMessage text drawn
textOptions.viewRange: number?in blocks; default 64