mojira.dev
MC-226956

Gravity blocks do not break when doEntityDrops is set to false

The bug

Falling blocks should break if they fall on torches and slabs. This, however, appears to not be happening. The block just stays has an entity and never returns to the "block state" or drops.

This only happens when gamerule doEntityDrops is set to false.

How to replicate

  1. Put on the ground any block that should break gravity blocks (like torches or slabs).

  2. Create a pillar at its side, just has a guide. Count 2 blocks up and place sand.

  3. Torches will be completely covered by the sand, and will stay on top of slabs (as you can see on the screenshot bellow). You won't be able to break the sand until it really hits solid ground and returns to be a solid block.

Attachments

Comments 3

Can confirm, this only happens when the gamerule `doEntityDrops` is set to `false`
I can also confirm in 1.17 pre-1

@Panda this was caused by the this.discard()’s that where added into falling block in pre-1

migrated

Panda4994

Confirmed

Important

Entities

1.17 Pre-release 2

1.17 Pre-release 3

Retrieved