I recall using TextComponentString in older versions of Forge, but now so much as changed, and that class doesn't even exist anymore. I couldn't find any documentation for the latest version of Forge (there is a documentation for "1.13+", but I heard that it's outdated).
The only thing that seems promising in the TextComponent class which I found was used in various Minecraft commands (such as the kick command).