Mojira Archive
MC-114463

Shift clicking can fill multiple slots with stacking restriction at once

Based on 1.11.2 decompiled using MCP 9.35 rc1

The bug

Shift clicking an item stack with a count greater than 1 and slots which allow this item but have stacking restrictions can result in multiple slots being filled.

Code analysis

Based on 1.11.2 decompiled using MCP 9.35 rc1

The method net.minecraft.inventory.Container.mergeItemStack(ItemStack, int, int, boolean) does not stop distributing the items of an item stack once it successfully placed some of them in a slot.

Works As Intended

Marcono1234

2017-03-09, 11:26 PM

2017-03-24, 08:35 PM

2017-03-24, 08:35 PM

1

0

Confirmed

count, item, shift-click, slot, stacking

Minecraft 1.11.2

-