Package net.blueva.arcade.api.ui
Interface TitlesAPI<P>
public interface TitlesAPI<P>
API for sending titles and subtitles to players.
-
Method Summary
Modifier and TypeMethodDescriptionvoidClear title for player.voidSend title and subtitle from language config keys.voidsend(P player, String titleKey, String subtitleKey, Map<String, String> placeholders, int fadeIn, int stay, int fadeOut) Send title and subtitle with custom timings.voidSend raw title and subtitle (already formatted).voidSend raw title and subtitle with custom timings.
-
Method Details
-
send
Send title and subtitle from language config keys. -
send
void send(P player, String titleKey, String subtitleKey, Map<String, String> placeholders, int fadeIn, int stay, int fadeOut) Send title and subtitle with custom timings. -
sendRaw
Send raw title and subtitle (already formatted). -
sendRaw
Send raw title and subtitle with custom timings. -
clear
Clear title for player.
-