Shift clicking ignores stacking restrictions if the same item is already in the slot
The bug
Shift clicking ignores stacking restrictions of a slot if this slot already contains the same item. This does not affect all slots with stacking restrictions because some of them do not use the (probably?) new method Slot.getSlotStackLimit().
How to reproduce
- Place a brewing stand
- Place a glass bottle in the first potion slot
- Place a single glass bottle in your inventory and shift click it
→ You will see that the glass bottle stacked despite the potion slots of a brewing stand only permitting item stacks with a count of 1
Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.inventory.Container.mergeItemStack(ItemStack, int, int, boolean) ignores the stacking restrictions of a slot if the same item is already in it.
Linked Issues
is duplicated by6
- Unresolved
Marcono1234- 15
- 8
- Confirmed
- Items UI
- count item shift-click slot stacking
1.11.2 - 24w09a
1.11.2 17w06a 17w18b 1.12-pre1 1.12-pre2 1.12-pre3 1.12-pre4 1.12-pre5 1.12-pre6 1.12-pre7 1.12 17w31a 1.12.1-pre1 1.12.1 1.12.2-pre1 1.12.2-pre2 1.12.2 17w43a 17w43b 17w45a 17w48a 17w50a 18w01a 18w03b 18w09a 18w10d 18w14b 1.13-pre1 1.13-pre3 1.13-pre6 1.13-pre10 1.13 18w30b 18w31a 1.13.1 1.13.2 19w04b 19w05a 19w06a 1.14.4 19w34a 1.15-pre6 1.15.1 1.15.2 1.16.4 20w46a 21w18a 1.17 1.17.1 1.18.1 1.19.2 1.19.3-pre1 1.19.3 1.19.4 1.20.4 24w09a
Created Issue:
Shift clicking ignores stacking restrictions if the same item is already in the slot
Relates to
The bug
Shift clicking ignores stacking restrictions of a slot if this slot already contains the same item. This does not affect all slots with stacking restrictions because some of them do not use the (probably?) new method Slot.getSlotStackLimit().
How to reproduce
- Place a brewing stand
- Place a glass bottle in the first potion slot
- Place a single glass bottle in your inventory and shift click it
→ You will see that the glass bottle stacked despite the potion slots of a brewing stand only permitting item stacks with a count of 1Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.inventory.Container.mergeItemStack(ItemStack, int, int, boolean) ignores the stacking restrictions of a slot if the same item is already in it.
relates to
Relates to
The bug
Shift clicking ignores stacking restrictions of a slot if this slot already contains the same item. This does not affect all slots with stacking restrictions because some of them do not use the (probably?) new method Slot.getSlotStackLimit().
How to reproduce
- Place a brewing stand
- Place a glass bottle in the first potion slot
- Place a single glass bottle in your inventory and shift click it
→ You will see that the glass bottle stacked despite the potion slots of a brewing stand only permitting item stacks with a count of 1Code analysis
Based on 1.11.2 decompiled using MCP 9.35 rc1
The method net.minecraft.inventory.Container.mergeItemStack(ItemStack, int, int, boolean) ignores the stacking restrictions of a slot if the same item is already in it.
is duplicated by
relates to
is duplicated by
is duplicated by
Can confirm in 1.18 and 1.18.1.
is duplicated by
is duplicated by
is duplicated by
Thank you for your report!
We're actually already tracking this issue in MC-114462, so I resolved and linked this ticket 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 in the future to see if the issue has already been reported.
May also relate to MC-114462
Thank you for your report!
We're tracking this issue in MC-114462, 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
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Sorry, didn’t know this was a duplicate. Duplicates MC-114462
Dupe of MC-114462
You can use Shift+Click to move up to 64 glass bottles to the brewing stand slot.
Edited: Duplicates MC-114462
Duplicates MC-114462
Thank you for your report!
We're tracking this issue in MC-114462, 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
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're tracking this issue in MC-114462, 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
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Affects 20w46a
Affects 21w18a
Affects 1.17
Can confirm in 1.17.1.
Confirm in 1.19.3