mojira.dev
MC-306047

The top-level colour of pretty-printed minecraft:nbt text components cannot be overridden in unintuitive cases

Steps to Reproduce:

  • Write an integer into command storage

    /data modify storage _ _ set value 1
  • Reference that integer and try to change its colour using the color field.

    /tellraw @s [{color:"red",storage:"_",nbt:"_"}," ttt"]

Expected Result:

The integer and the child text should appear as red text.

Observed Result:

The integer is always orange (gold) but the child is red.

This also causes issues in general with inheritence, where you would expect to be referencing a number and have it retain the colour of its parent text component. This does not happen as it is always gold, and there is no way to change that.

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media]

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

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

DorkOrc

(Unassigned)

Confirmed

(Unassigned)

26.1 Snapshot 5

Retrieved