Minecraft Color Codes Problem (1.9)
Introduction to my problem
As most of you know, the section sign, aka ยง is used to add color formatting. But the inconvenient thing is that you can't use the sign in command blocks, only in console commands. That really really is annoying, since it leaves out so many features in vanilla minecraft.
About my map, just if you wanna read :)
So what I need help with? I'm creating a prison escape map, not just parkour, instead with picklocks, guards, inmates, roll calls, reputation, metal detectors, custom resource packs, secret stashes and many escape possibilities. The part which I have a problem with? Custom-colored items.
I want to give items custom lores with colors (and not that ugly purple italics lore ... eww). Red-colored (eg. knives, drugs, armor & guard keys) items would be contraband and result in solitary when found, orange-colored (eg. bobby pins, plastic knives & sticks) are also illegal, but won't be confiscated, since they are just not detected by guard dogs, guards or metal detectors. While it's illegal to own them, you can carry them without any sort of risk - and green-colored (eg. money, food & leather clothes) are completely legal to own and can be acquired legally.
So, what I need help with?
So, what I need? I need to be able to spawn colored items in the world. Most of the contraband can be traded from other inmates, but for example in the yard, random bobby pins and metal pieces will spawn, but I can't summon colored items (the summoned items have to be colored!). I only found one solution by now, which is to pre-make chests in command block areas, putting an item given thru server console in them, then cloning random chests on top of the yard, breaking them a tick later so that the cloned items get dropped. But that won't work in all areas, also would be really unconvinient if I want to give items to players, for example, for quest completion.
Any ideas? If you know how to help, please reply, it would REALLY help me!
Best Answer
Edit the commands (giving the items) using external editors like McEdit (for command blocks already placed it the world) or NbtEdit (Ctrl+middle click every single command block and edit them from inside your inventory and replace them).
Pictures about "Minecraft Color Codes Problem (1.9)"
How do you type in color codes in Minecraft?
How to Change the Color of Text in Minecraft- Find your desired text color in the color code list.
- In the chat, enter the section (\xa7) symbol before starting to type. To do this, open the character keyboard, then tap and hold the & symbol. ...
- Type in the color code in front of your text. ...
- Enter your text and send it.
How do you enable color codes on a Minecraft server?
If you've played on other Minecraft servers before, the chances are that you'll have seen them use colours in different places....How to use colour codes?What color is 7 in Minecraft?
List of Color CodesColor (Minecraft Name)Chat CodeHexadecimalLight Purple (light_purple)\xa7dFF55FFDark Purple (dark_purple)\xa75AA00AAWhite (white)\xa7fFFFFFFGray (gray)\xa77AAAAAA12 more rowsWhat is the symbol for color in Minecraft?
Usage. Text can be formatted using the section sign (\xa7) followed by a character. A \xa7 symbol followed by a hex digit in the message tells the client to switch colors while displaying text. In Bedrock Edition, the \xa7 symbol can be used in any text input, while in Java Edition, it may be used in server.More answers regarding minecraft Color Codes Problem (1.9)
Answer 2
This is possible to do in-game, first download a program called AutumsSignGenerator.
Then you need to enter the following text:
For items: /give @p <item> <amount> <damage value> {display:{Name:"[unicode][Name]"}}
For mobs: /summon <mob> <x> <y> <y> {CustomName:"[unicode][Name]",CustomNameVisible:1}
Here is a link to the unicode table. Make sure to use the codes under the section 'MOTD color code'.
There is MCEdit for 1.9+; go to the MCEdit website and download the version you want.
I hope this helps!
Answer 3
Here is a link to the unicode table. Make sure to use the codes under the section 'MOTD color code'.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Monstera, Denise Rodrigues dos Leal, Miguel Á. Padriñán, Tara Winstead