title

infix fun title(title: Component): BossBarBuilder

Sets a static title for the boss bar.


infix fun title(title: () -> Component): BossBarBuilder

Sets a dynamic title for the boss bar.


infix fun title(title: (Player) -> Component): BossBarBuilder

Sets a title that can change based on the player.