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

JSON-Text formatting in CustomNames of container blocks does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 18w03b, Minecraft 18w06a, Minecraft 18w08a, Minecraft 18w08b, Minecraft 18w10a, Minecraft 18w11a, Minecraft 18w19b, Minecraft 18w20a, Minecraft 18w20c, Minecraft 18w22a, Minecraft 1.13-pre1, Minecraft 1.13-pre3, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre9, Minecraft 1.13
    • Fix Version/s: Minecraft 18w30a
    • Confirmation Status:
      Confirmed

      Description

      I don't know if that may be intended due to technical limitations, but the json format tags do not appear to do anything when used in CustomNames of container blocks.

      These commands do not give the desired format:

      setblock ~ ~ ~ minecraft:chest{CustomName:"{\"text\":\"Hellou\",\"strikethrough\":true}"}
      setblock ~ ~ ~ minecraft:chest{CustomName:"{\"text\":\"Hellou\",\"color\":\"red\"}"}

      While these do:

      summon minecraft:creeper ~ ~ ~ {CustomName:"{\"text\":\"Hellou\",\"strikethrough\":true}"}
      summon minecraft:creeper ~ ~ ~ {CustomName:"{\"text\":\"Hellou\",\"color\":\"red\"}"}
      give @p minecraft:stone{display:{Name:"{\"text\":\"Hellou\",\"strikethrough\":true}"}}
      give @p minecraft:stone{display:{Name:"{\"text\":\"Hellou\",\"color\":\"red\"}"}}

      Note that the legacy ยง formatting displays as expected

        Attachments

        1. 2018-01-24_18.47.35.png
          2018-01-24_18.47.35.png
          754 kB
        2. screenshot-1.png
          screenshot-1.png
          4 kB
        3. screenshot-2.png
          screenshot-2.png
          11 kB
        4. screenshot-3.png
          screenshot-3.png
          6 kB
        5. screenshot-4.png
          screenshot-4.png
          6 kB

          Issue Links

            Activity

              People

              • Assignee:
                boq [Mojang] Bartosz Bok
                Reporter:
                Schortan [Helper] NeunEinser
              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: