Hello Everyone! ok, I have been looking around for a good way to do this, but the more I look, the harder it is to find a good way of taking a JsonObject (gson) and turning it into a TextComponent (net.md_5) It seems to be that I need to use TextComponentSerializer, but the last argument has me a bit stumped, as I cannot find any good examples of it's usage (JsonDeserializationContext from gson). anyone know how to do this without too much hassle? Thanks, ~Astrorious P.S. the other way I could do this is with NMS and using a JSON string, but I have been told by a lot of people that its not a good idea (I would like to stay away from nms if at all possible)
I tried this, but I ended up getting the json string sent as a message (the actual text itself rather than the tellraw-style json). Is there a specific method in TextComponent that I need to use?