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

Shift clicking does not work for all valid items for some slots

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 14w26c, Minecraft 14w28a, 1.15.2, 20w12a, 20w15a, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w48a, 21w05b, 1.18.2, 22w12a, 1.19, 1.19.2, 1.19.3, 23w06a, 1.20.4
    • Confirmed
    • Inventory
    • Low
    • Platform

      The bug

      Shift clicking does not work for all valid items for some slots. For example some items are valid for a slot and you can place them with your cursor but you cannot shift click them in the slot.

      Affected situations

      • Shift clicking empty bucket into fuel slot of furnace (to have it filled with water)
      • Shift clicking non-smeltable item into slot for item to smelt of furnace

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The affected containers override the method net.minecraft.inventory.Container.transferStackInSlot(EntityPlayer, int) to not use the method net.minecraft.inventory.Slot.isItemValid(ItemStack).

            Unassigned Unassigned
            marcono1234 [Mod] Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: