hoverText

inline fun hoverText(text: String = "", builder: LiteralTextBuilder.() -> Unit = { })

Sets the text which should be displayed when hovering over the text in the chat.

Parameters

text

the raw text (without formatting)

builder

the builder which can be used to set the style and add child text components