legacyText

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

Append the given legacy text to the parent. This allows you to use legacy color codes (e.g. §c for red). It is not recommended to use this.

Parameters

text

the text instance

builder

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