mojira.dev
MC-272454

JSON text component of type nbt only overrides text options (like color) for the first text object

steps to reproduce:

  • /data modify storage test:bug text set value [{text:"ab",color:"red"},{text:"ab",color:"green"}]

  • /tellraw @a {"nbt":"text","storage":"test:bug","interpret":true,"color":"#808080"}

what should happen:

  • all the text outputs as grey

what happens:

  • only the first text component in the component list outputs as grey

Attachments

Comments 3

Is there a command missing? I ran both of these but the output was a blank message

@Greymagic27 sorry for my mistakes, i've fixed the commands and they should now work as expected

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Smajlo Slovakian

(Unassigned)

Confirmed

Text

1.20.6, 1.21

Retrieved