Text Component
data class TextComponent(val text: String, val color: String = "", val styles: EnumSet<TextStyle> = EnumSet.noneOf(TextStyle::class.java), val extra: List<TextComponent> = emptyList())
Represents a component of the MOTD.
Functions
Link copied to clipboard
Converts TextComponent to a HTML element.