broadcastFormattedTitle
Broadcasts a formatted title and subtitle to all players satisfying the given predicate.
This method sends a formatted title and subtitle to players that meet the condition specified by the provided predicate.
Parameters
The main title to be displayed to the players. Defaults to an empty string.
The subtitle to be displayed under the main title. Defaults to an empty string.
A filter function determining the players who should receive the formatted title.
Broadcasts a formatted title to all eligible recipients.
Parameters
The main title text to display. Defaults to an empty string if not provided.
The subtitle text to display below the title. Defaults to an empty string if not provided.
The duration (in ticks) for the fade-in animation of the title. Must be between 0 and 72,000 inclusive.
The duration (in ticks) for which the title should remain visible