Shulker box preview count affected by item display name styling
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

2018-05-14, 02:28 AM
2024-04-19, 03:46 AM
4
2
-