mojira.dev
MC-168169

Text on signs shows different colors if dyed manually or by command

The bug

Colored text on signs has a different color if set by json in a command (/data or /setblock) and a different color if dyed manually using a dye. If this is intentional design and not a bug, it might be worth to say that the color of text dyed using a dye is often unreadable. Attached is a picture comparing the two cases.

How to reproduce

  1. /setblock ~ ~ ~ oak_sign{Text1:"{\"text\":\"test\",\"color\":\"gray\"}"}
  2. Place a sign, write on it and dye it with gray dye
    โŒ The text color of the signs is not the same

Linked issues

Attachments

Comments 9

Using dye on signs changes the Color tag of the sign block entity, not the text itself. I imagine that this is probably intended in order to not have the text glow that much, while still providing the option to map makers to use the more vibrant colors

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w06a.

Can confirm in 1.16.5 and 21w08b.

Can confirm in 1.18.2 and 22w18a.

Can confirm in 1.19.

After some thought, I feel like this is not a bug, but rather a feature. However, this would need to be confirmed by the devs who could close this as "works as intended".

Yeah, this is absolutely by design/not a bug, JSON colors don't represent the dye colors, and were used to represent the ยง color codes, you can even provide #hex color codes.

takatalvi

(Unassigned)

Confirmed

Block states, Rendering

1.15, 1.15.1 Pre-release 1, 1.15.2, 20w08a, 20w51a, ..., 21w08b, 1.18.2, 22w18a, 1.19, 1.20.2

Retrieved