Posted March 26, 201411 yr Hi guys, In 1.6 I used to add colours to my chat texts by adding a "\247" followed by a colour code. This enabled colouring bits of texts (i.e. a word or two in a line). In 1.7 it still works, except that I can't find a way to get the colour to continue on the next line. This is my code: ChatComponentText cc=new ChatComponentText(s); Minecraft.getMinecraft().ingameGUI.getChatGUI().printChatMessage(cc); If I have a code switching the text to say blue on line one, it will work, but line two will revert to white. I can do multi-line colouring, but with getChatStyle().setColor(colour), and that only works to colour the entire text as far as I can tell. Anybody has some sample code of a way to do this? Thanks K. http://www.millenaire.org/img/dynamicsig.png[/img]
March 26, 201411 yr Yeah, we all have been having this problem. Even for me, I can't find a fix on how to use color on a seperate line. You can however do the color code / color enum for it, but changing the GUI scale for chat would make that color discontinue. I'll check back if I ever find a fix for it, or someone finds a fix (in this subject)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.