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

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Inventory
    • Mojang Priority:
      Low

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                CHK: