mojira.dev
MC-186086

Campfires and brewing stands drop item entities intersecting with block

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.

  1. Place a lit campfire

  2. Place food items on it

  3. 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

Comments 2

Can confirm in 1.17.1.

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.

marcono1234

(Unassigned)

Confirmed

Gameplay

Low

Block states

mojang_internal_1

20w22a, 1.17.1, 1.20.4, 23w51b, 1.21.1, 24w37a

Retrieved