TitleDisplayOptions Interface
Contains additional options for displaying a title and optional subtitle.
Properties
fadeInDuration
fadeInDuration: number;
Fade-in duration for the title and subtitle, in ticks. There are 20 ticks per second. Use @minecraft/server.TicksPerSecond constant to convert between ticks and seconds.
Type: number
fadeOutDuration
fadeOutDuration: number;
Fade-out time for the title and subtitle, in ticks. There are 20 ticks per second. Use @minecraft/server.TicksPerSecond constant to convert between ticks and seconds.
Type: number
stayDuration
stayDuration: number;
Amount of time for the title and subtitle to stay in place, in ticks. There are 20 ticks per second. Use @minecraft/server.TicksPerSecond constant to convert between ticks and seconds.
Type: number
subtitle
subtitle?: (RawMessage | string)[] | RawMessage | string;
Optional subtitle text.
Type: (RawMessage | string)[] | RawMessage | string
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for