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

Overfilled bundles cause items to duplicate when trying to be put inside

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • None
    • 21w19a
    • None
    • Confirmed
    • (Unassigned)

      Steps to reproduce:
      1) Give yourself a bundle with items inside such that the fullness exceeds 64. In the example videos, I used

      /give @s bundle{Items:[{id:"minecraft:bow",Count:2b}]}
      /give @s bundle{Items:[{id:"minecraft:stone",Count:65b}]}
      /give @s bundle{Items:[{id:"minecraft:stone",Count:66b}]}
      

      2) Grab an item in your inventory and right-click the overfilled bundle with it
      3) The item should remain being dragged by your cursor, but its Count will be increased by the bundle's (fullness−64), and the bundle will have an "air" item with Count (64−fullness) in it

      Bundle's NBT Before:

      {Items: [{id: "minecraft:stone", Count: 66b}]}
      

      Bundle's NBT After:

      {Items: [{id: "minecraft:air", Count: -2b}, {id: "minecraft:stone", Count: 66b}]}
      

        1. 2021-05-12 18-54-36.mp4
          430 kB
          DorkOrc
        2. 2021-05-12 18-56-12.mp4
          446 kB
          DorkOrc
        3. 2021-05-15 15-08-15.mp4
          390 kB
          DorkOrc

            Unassigned Unassigned
            Deoxyribonucleic Evans DorkOrc
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: