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

"Pick block" switches to non-empty slot

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 16w14a, Minecraft 16w15b, Minecraft 1.9.4, Minecraft 16w21b, Minecraft 1.10 Pre-Release 1, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.12.2, Minecraft 18w03b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14, Minecraft 1.14.3 Pre-Release 3, 19w39a, 1.16.1, 20w27a, 1.17.1, 1.20.4, 24w14a
    • None
    • Confirmed
    • UI
    • Low
    • Platform

      The "pick block" function can switch to a hotbar slot with an item in it, when:

      • the hotbar is full and
      • all previous slots (from the selected slot on) contain enchanted items.

      Example to reproduce:

      • Arrange items in the hotbar as follows: enchanted pickaxe, ench. shovel, ench. axe, ench. bow, ench. sword, in Creative mode enchanted stick, cooked chicken, water bucket, torches.
      • Have netherrack in the inventory and a block of it nearby.
      • Select slot 1.
      • Use pick block on the netherrack.
        Expected result: Pickaxe and netherrack get switched out (netherrack to slot 1, pickaxe to wherever the netherrack was in the inventory before).
        Actual result: Slot 7 (chicken) gets selected and switched out with the netherrack (netherrack to slot 7, chicken to netherrack spot).

      This was very likely introduced when MC-51984 got fixed.
      Possible fixes, should be discussed: Change "switching immunity" from enchanted items to tools, maybe items with a durability bar if that's easier to handle in future versions. Or remove immunity completely.

            Unassigned Unassigned
            FaRo1 Fabian Röling
            Votes:
            7 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              CHK: