Mojira Archive
MC-260942

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

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

Invalid

Yangsy56302

2023-03-12, 02:42 AM

2023-03-12, 02:20 PM

2023-03-12, 02:20 PM

0

1

Unconfirmed

(Unassigned)

1.19.3, 1.19.4 Release Candidate 2

-