literalText

inline fun literalText(baseText: String = "", builder: LiteralTextBuilder.() -> Unit = { }): TextComponent

Opens a LiteralTextBuilder.

Parameters

baseText

the text you want to begin with, it is okay to let this empty

builder

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