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

NBT value ["\""] cannot be output by raw JSON text if interpret is true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.3, 1.19.4 Release Candidate 2
    • None
    • Unconfirmed
    • (Unassigned)

      1. /summon minecraft:marker ~ ~ ~ {data:{nbt:["\""]}}
      (marker summoned)
      2. /data get entity @e[type=minecraft:marker,limit=1]
      (nbt is correct)
      3. /tellraw @a

      {"nbt":"data.nbt","entity":"@e[type=minecraft:marker]","interpret":true}

      (bug: empty line printed)

      ['"'], ["\"text\""], ["

      {\"text\":\"something\"}

      "] prints empty line too

            Unassigned Unassigned
            yangsy56302 Yangsy56302
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: