Module text_component

Source

Structs§

TextComponent
A component that contains text that’s the same in all locales.

Functions§

legacy_color_code_to_text_component
Convert a legacy color code string into a FormattedText Technically in Minecraft this is done when displaying the text, but AFAIK it’s the same as just doing it in TextComponent