Options for ScreenDisplay.setTitle; times are in ticks.
Interface in @minecraft/server
Options for ScreenDisplay.setTitle; times are in ticks.
import type { TitleDisplayOptions } from '@minecraft/server';Properties
Section titled “Properties”subtitle
Section titled “subtitle”optional
subtitle?: string | RawMessage;Types
fadeInDuration
Section titled “fadeInDuration”optional
fadeInDuration?: number;Default 10.
stayDuration
Section titled “stayDuration”optional
stayDuration?: number;Default 70.
fadeOutDuration
Section titled “fadeOutDuration”optional
fadeOutDuration?: number;Default 20.