Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-114463

Shift clicking can fill multiple slots with stacking restriction at once

XMLWordPrintable

    • Confirmed

      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.

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: