#Hi, how do I change the text color of a variable?
11 messages · Page 1 of 1 (latest)
Once your question has been answered, please close this post with </resolve:1050379261372006400> command!
The XY problem is when you really want to do X, and you think that Y can achieve X. However, you can't get Y to work, and so ask for help exclusively about Y.
This can lead to a lot of confusion from the people trying to help you, as Y can seem like a very random thing to want to do, and a lot of the time isn't the best way to achieve X anyway.
Its fine to ask about Y, just always include some context about X so you can be put on the right track if Y won't do X well, or there is an easier way to do X.
I want the first part of the text in calback.data.tell to be yellow text, the other to be white. I hope it's clear?
tell(Text.yellow('this is yellow text ').append(Text.red('and this is red text.')).append(Text.green(' Bonus bold green text!').bold())
Lord, thank you good man!
??kjswiki
You can use Text Components a lot in KubeJS, and the wiki has a page on them!
for a lot more info and more examples of that sorta stuff