Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-59497

Signs cut of JSON text with spaces and color/style

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 14w26c, Minecraft 14w28a, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8-pre2
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Unconfirmed

      Description

        1. 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.
      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

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcono1234 [Mod] Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: