Closed sakurawald closed 1 month ago
This function is not used ofter. For persist the Text instance, there are gson serializer/deserializer provided by mojang.
Myself I would recommend just storing the input instead, as generated one might not match user input at all (for example, gradients couldn't really be reversed, unless a lot of math/checking was used, but even then it can slightly change when I tweak the code).
You can use included WrappedText utility class for that
Myself I would recommend just storing the input instead, as generated one might not match user input at all (for example, gradients couldn't really be reversed, unless a lot of math/checking was used, but even then it can slightly change when I tweak the code).
You can use included WrappedText utility class for that
Okay, thank you <3.
Now i can use
parser.parseText()
to convert quick-textstring
intoText
. I am wondering if there is a way existing to convertText
into quick-textstring
.