Summarymodify_contents item modifier can create overstacked items inside a container, like a shulker box. (The overstacked item can then be spawned by burning the dropped shulker box.) Also note that overstacked items no longer crash the game.
Steps to Reproduce
Get a shulker box with one item
/give @s minecraft:shulker_box[minecraft:container=[{item:{id:stone},slot:0}]]/give @s minecraft:shulker_box[minecraft:container=[{item:{id:stone},slot:0}]]Run the following command
/item modify entity @s hotbar.0 {function:modify_contents,modifier:{function:set_count,count:99},component:container}/item modify entity @s hotbar.0 {function:modify_contents,modifier:{function:set_count,count:99},component:container}
Expected Result
Shulker box does not have one stack of 99 stones.
Actual Result
Shulker box has one stack of 99 stones.
Attachments
Comments 3
Thank you for your report!
We're tracking this issue in MC-269933, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Can confirm.
Opening the shulker box reveals a stack of 64 stone as well, rather than the 99 said on the tooltip