1. Place an item into the first slot of a chest
2. Run /data modify block <pos> Items[0].count set value 99
3. Observe that when you run /data get block <pos> Items[0].count it states that it is 99, but when you open the chest it only shows as 1
4. Run /item replace entity @s weapon.mainhand from block <pos> container.0
5. Observe that the item count is correctly displayed while the item is in your inventory, or in your cursor.
Attachments
Comments 2
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
May relate to MC-267171