Mojira Archive
MC-225381

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

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

Won't Fix

DorkOrc

2021-05-12, 08:59 PM

2021-12-02, 05:33 PM

2021-05-18, 10:32 AM

0

6

Confirmed

(Unassigned)

21w19a

-