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}]}
      

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

              Created:
              Updated:
              Resolved:
              CHK: