Steps to Reproduce:
Use /give @s diamond 1 0
Then, use /give @s diamond 1 10
Observed Results:
These two diamonds that are supposed to have different data values will stack.
Expected Results:
The two diamonds shouldn't stack, and instead should go to different inventory slots.
Linked issues
is duplicated by 2
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
I believe that only data values that are hard-coded to not stack will actually not stack. The game sees no difference between arbitrary data values and 0. Making arbitrary data values work as this report expects seems like a feature request.
Note also that items with different data values not stacking has caused several bugs in the past, e.g. with smelted items, banners, and pumpkins.