The bug
When items cooked on a campfire are removed (e.g. because they finished cooking or because the campfire was put out), the item entities are sometimes created intersecting with the campfire block, causing them to fly out of it with high speed in random directions.
Expected would be that the item entities are created on top of the campfire and then the items are randomly spread.
Reproduction steps
This might require multiple tries because the items are randomly positioned and therefore might not always intersect with the campfire.
Place a lit campfire
Place food items on it
Put out the campfire using a shovel
❌ Some items fly out of it with high speed. Compare that to breaking for example a chest full of items where items never fly that far.
Linked issues
is duplicated by 1
Comments 2
Can confirm in 1.20.4.
This also affects Brewing Stands dropping items in the world. It seems to affect all uses of Containers#dropItemStack which happen while the block is still present in the world. All the other uses of it other than Campfire and Brewing Stand happen when the block is being broken.
Can confirm in 1.17.1.