Summon command ignores stacking restrictions
The bug
When using the summon command, it will ignore items stacking restrictions, unlike /give and /item (MC-117005). It will cap at 64 when summoning item entities but goes beyond 64 when an entity holds an item in its hand.
How to Reproduce
- Run the command
/summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:lava_bucket",Count:64b}}→
You get invalid stacked items
- Run either of those commands
/summon minecraft:armor_stand ~ ~ ~ {HandItems:[{id:diamond_sword,Count:127b}]} /summon minecraft:armor_stand ~ ~ ~ {HandItems:[{id:lava_bucket,Count:64b}]} - Right-click the armor stand item
→
You get invalid stacked items above 64.
Linked Issues
Created Issue:
You can summoning armor stand with held unstackable items maximum and you can get them, can stack 127
You can summoning armor stand with can stack held unstackable items maximum and you can get them, can stack 127
You can summoning armor stand with can stack held unstackable itemsmaximumand you can get them, can stack 127You can summoning armor stand with can stack held unstackable items and you can get them, maximum can stack 127
is duplicated by
You can summoning armor stand withcanstackheld unstackable items and you can get them, maximum can stack127Summoning armor stand with stacked unstackable items allows player to get invalid stacks up to 127
How to Reproduce
- command
/summon minecraft:armor_stand~ ~ ~ {HandItems:[{id:diamond_sword,Count:127b}]} /summon minecraft:armor_stand ~ ~ ~ {HandItems:[{id:lava_bucket,Count:64b}]}
- Right-click the armor stand item
→You gettheinvaild stacked items.The bug
When using the summon command, it will ignore items stacking restrictions, unlike /give and /item (
MC-117005). It will cap at 64 when summoning item entities but goes beyond 64 when an entity holds an item in its hand.How to Reproduce
- Run the command
/summon minecraft:item ~ ~ ~ {Item:{id:"minecraft:lava_bucket",Count:64b}}→
You get invalid stacked items
- Run either of those commands
/summon minecraft:armor_stand ~ ~ ~ {HandItems:[{id:diamond_sword,Count:127b}]} /summon minecraft:armor_stand ~ ~ ~ {HandItems:[{id:lava_bucket,Count:64b}]}- Right-click the armor stand item
→You get invalid stacked items above 64.
Summoning armor stand with stacked unstackable items allows player to get invalid stacks up to 127Summon command ignores stacking restrictions
relates to
clones
It was already fixed in 24w10a because i could not stack items more than stack limit. So this should get a fixed.
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-201722, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord




Can confirm
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w08b. Video attached.
Can confirm in 1.12.2 but other command
Can confirm in 21w14a.
Can confirm in 1.17.1.
Pretty sure this is going to get a won't fix/works as intended. The other commands listed have the count value in a separate parameter, here it's hidden in save-data format. Item entities are not the only place, by far; armor items, hand items, container contents, item entity's shulker box/bundle contents, container's shulker box/bundle contents, and those are only the ones that pop to mind. The stacking restrictions have vanished and appeared on the give command several times, and each time it was resolved as WAI, so it's a "we don't really care about this" situation to begin with.