The bug
When hovering over a non-empty shulker box item you get a preview of the items contained and the stacks sizes. This number shares the styling of the items name. I expected this number to always be styled the same.
This is problematic, because you can not preview the size of item stacks with obfuscated names.
How to reproduce
Run in a command block:
/setblock ~ ~ ~ shulker_box{Items:[{Slot:0b,id:"minecraft:stone",tag:{display:{Name:"{\"text\":\"Bold\",\"bold\":\"true\",\"color\":\"red\"}"}},Count:1b},{Slot:1b,id:"minecraft:stone",tag:{display:{Name:"{\"text\":\"obfuscated\",\"obfuscated\":\"true\"}"}},Count:1b}]}
Pick up the shulker box
Open inventory and hover over the shulker box item
[media]
Linked issues
is duplicated by 1
Attachments
Comments 14
The reported behavior was fixed in 1.20.2 Pre-Release 1, alongside MC-248778.
Affects 18w32a.