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

Equipping armor in hand via right-click equips entire stack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w36a
    • 1.19.3, 1.20.2, 23w42a
    • None
    • Confirmed
    • Inventory, Items
    • Low
    • Platform

      The bug

      Holding a stack of (yarn) ArmorItem and right clicking it equips the whole stack, while opening the inventory and clicking with the item on an armor slot equips only one.

      Steps to reproduce

      1. Get a stack of armor equippable items:
        /summon item ~ ~ ~ {Item:{id:diamond_chestplate,Count:64}}
      2. First, open your inventory, and click an armor slot with the item.
        Observe that only one gets inserted and only one can be inserted.
      3. Run the command again.
      4. Put the stack in your main hand and right click.
        Observe that the whole stack gets inserted.

      This can be fixed by either equipping one when right click equipping or equipping the whole stack when clicking, thus bypassing the "only one inserted" when clicking on the slot

            gegy1000 [Mojang] Gegy
            PatrickMSM PatrickMSM
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: