Minecraft – How to use more than one color in a tellraw command

minecraft-commandsminecraft-java-edition

I am using /tellraw for my server, and I know how to use tellraw with color, but not with multiple colors in one command. Help?

Best Answer

This command would send the letter 'r' in red and the letter 'b' in blue. (You would replace player with a username or target selector).

/tellraw player [{"text":"r", "color":"red"}, {"text":"b", "color":"blue"}]

This one would write, "Hello, World!" with two different colors:

/tellraw player [{"text":"Hello, ", "color":"gold"}, {"text":"World!", "color":"red"}]

This page will show you more about raw JSON text and how to use it.

Related Topic