Text Component
Creates a TextComponent from a string.
Parameters
text
the text string in the component.
Creates a TextComponent from an existing ITextComponent.
Parameters
chat Component
the ITextComponent to convert
Creates a TextComponent from a string.
the text string in the component.
Creates a TextComponent from an existing ITextComponent.
the ITextComponent to convert