Can you use json codes on signs in Minecraft?

Can you use json codes on signs in Minecraft? - Two Cans With Signages

Can I use a json code on signs? I tried /tellraw @p {text"hi",color:blue} and it worked as expected, but can you use them for signs?



Best Answer

When you're making signs with colored text, you have can only do it with the /setblock command. Also, remember that you cannot use the Selection Symbol (ยง) in chat. So, this is how you create a sign with color.

(Or you can look up the wiki)


Place a command block ABOVE where you want your sign to go.

Use /setblock ~ ~-1 ~ standing_sign [Rotation] replace {Text1:"{Text:"[Text String]",color:[Color]}",Text2:"{Text:"[Text String]",color:[Color]}",Text3:"{Text:"[Text String]",color:[Color]}",Text4:"{Text:"[Text String]",color:[Color]}"}
Of course, it won't fit in your hotbar. So, put it on a command block directly above where you would like to place the block and then activate it.

Replace [Rotation] with a number between 0 and 15. 0 faces South, 4 faces West, 8 faces North and 12 faces East. 16 (the same as 0) will face South.
Replace [Text String] with the json string that you want the sign to contain... Or plain text. As long as everything fits on the sign, it will not be chopped off.
Replace [Color] with a color; "Red", "Blue", "Yellow", "Green", "Gold", "Gray" are some examples. (As long as it's a color that Minecraft chat supports).




Pictures about "Can you use json codes on signs in Minecraft?"

Can you use json codes on signs in Minecraft? - Crop unrecognizable man cleaning computer system unit
Can you use json codes on signs in Minecraft? - People in White Outfits Holding Placards
Can you use json codes on signs in Minecraft? - Assorted Spices For Sale



How do you use JSON in Minecraft?

Minecraft Interactive Experience JavaScript Object Notation (JSON) is a lightweight data-interchange format. In Minecraft, JSON format is used to store the following data: Text in written books, signs, custom names and the /tellraw , /title , /bossbar , /scoreboard and /team commands.

What is JSON format in Minecraft?

Minecraft Json Viewer
  • Press Ctrl+P and type ext install Minecraft Json Viewer with a trailing space.
  • Press Enter and restart VSCode.
  • Open a Json File.
  • Choose process from Command Palette or click top right icon.


  • How do I open a JSON file in Minecraft?

    You can modify a sign's text in 1.8 using the /blockdata command. All the commands will work as long as the text fits on the sign.



    Minecraft JSON Sign Generator - How to create JSON Signs!




    More answers regarding can you use json codes on signs in Minecraft?

    Answer 2

    In the new version (1.8) of MC, they changed alot of things, an example is server configs are now JSON files, Mojang tried to have more modability power for the player, without installing mods!

    This also means that you can implent JSON code in Signs, Books, Command Blocks and any text container.

    However, you need the /setblock command, the /give command, or incase of Bukkit/Spigot etc. the commands for altering/giving items, that belong to the build (this also go for plugins!).

    More info on the sign item, and how to use it with JSON can be found on here.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Mat Brown, Anete Lusina, cottonbro, Julia Volk