Signs cut of JSON text with spaces and color/style
-
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}
- Perform this command (in a command block):
The sign will only say:
1.
POWER
But when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}
You will get this as last output (or at least something similar):
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"{\"bold\":true,\"color\":\"dark_red\",\"text\":\"
POWER REDSTONE LAMP
\"}",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
It seems like the game is calculating for every character 2 spaces when bold selected, because when you set bold to false, it works
Created Issue:
Signs cut of JSON text with spaces
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\"*POWER REDSTONE LAMP*\"}
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\"*POWER REDSTONE* LAMP*\"}
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\"*POWER REDSTONE
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"*LAMP*\"}",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\" *POWER REDSTONE LAMP* \"}
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\" *POWER REDSTONE LAMP* \"}
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\"
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"*POWER REDSTONE LAMP*\"}",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
{\"bold\":true,\"color\":\"dark_red\",\"text\":\" POWER REDSTONE LAMP \"}
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"",Text3:"null",Text4:"null",z:619,y:56,x:1243,}
Which poofs that the sign cuts off the text (without the spaces between the words it wont)
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"{\"bold\":true,\"color\":\"dark_red\",\"text\":\" POWER REDSTONE LAMP \"}",Text3:"null",Text4:"null",z:619,y:56,x:1243,}Which poofs that the sign cuts off the text (without the spaces between the words it wont)
Signs cut of JSON text with spaces and color/style
As George Stichel said, the text just doesn't fit on one line. Split it up into multiple parts.
Signs cut of JSON text with spaces and color/style / Signs with bold text have incorrect line lenght
- Perform this command (in a command block):
/setblock ~ ~ ~ standing_sign 0 replace {Text1:"1.",Text2:"{\"text\":\"POWER REDSTONE LAMP\",color:dark_red,bold:true}"}The sign will only say:
1.
POWERBut when you perform this command (in a command block):
/blockdata ~ ~-1 ~ {}You will get this as last output (or at least something similar):
[12:29:15] The data tag did not change: {id:"Sign",Text1:"\"1.\"",Text2:"{\"bold\":true,\"color\":\"dark_red\",\"text\":\" POWER REDSTONE LAMP \"}",Text3:"null",Text4:"null",z:619,y:56,x:1243,}Which poofs that the sign cuts off the text (without the spaces between the words it wont)
It seems like the game is calculating for every character 2 spaces when bold selected, because when you set bold to false, it works
But then there should still be the "POWER REDSTON" but it isn't, there just stands
POWER
Signs cut of JSON text with spaces and color/style/ Signs with bold text have incorrect line lenght
the text "POWER REDSTONE LAMP" is to long for 1 row in a sign.
max:"POWER REDSTON" (bold)
You are right, sorry seems like signs don't cut off the text then and just leave it away instead if it doesn't fit in one line
Can be closed