mojira.dev
MC-73919

Summoning mulitple items with NBT Data disappear instead of stacking

When you summon an item on the ground and then add NBT data to it (like CanPlaceOn) it will work correctly. Summoning a second item of the type at the same location and adding the same NBT data to it will cause the two items to stack correctly. If you repeat this again, the third item, or anymore afterwards will not stack and you will still only have 2 items. The others just disappear.

Step to reproduce:
1. Summon an item on the ground (ex: sapling)
2. Apply NBT data, like CanPlaceOn, to the item using /entitydata
3. Repeat steps 1 and 2 again at the same location
4. Do it a third time. This time the item will just disappear instead of

Attachments

Comments 3

Did you pick them up and count two or are just looking at the graphics, those only show multiple items at certain stack sizes and not just three for three and two for two.

It will show two items on the ground, but I only count two when the items are picked up, even if I summon more than that. After I summon more than two, it will still only show two items on the ground and I'll only be given two in my inventory.

Okay so this is not actually a bug. Just a mistake on my part. In the entitydata command, I had the Count set to 1. I guess this was causing the stack to change into only one item. So by removing the Count tag, the amount of items is not effected. Sorry about that!

SamTheSheep

(Unassigned)

Unconfirmed

Minecraft 1.8, Minecraft 1.8.1-pre3

Retrieved