The bug
When you use a /fill
command to replace both an item and the block it was placed on, the item will be dropped as an entity.
How to reproduce
Place a block, and a torch or other item on top
Use a
/fill
command to replace both with air
Linked issues
duplicates 1
Attachments
Comments 6

What exact item drop are you referring to?
For me, it happened with redstone torches, redstone dust and a couple others. I assume it works with any item.
Can confirm in 20w51a.
Can confirm in 1.16.5 and 21w08b. Video attached.
Duplicate of MC-188223
Pretty Sure This Is Intended Behavior