mojira.dev
MC-306047

The 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
    /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"]
    /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 1

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

[media][media][media]

DorkOrc

(Unassigned)

Unconfirmed

(Unassigned)

26.1 Snapshot 5

Retrieved