mojira.dev
MC-205911

Falling anvils don't damage entities when landing on cobwebs

The Bug:

Falling anvils don't damage entities when landing on cobwebs.

When falling anvils land on slabs that have entities standing on them, the given entity receives damage so one would expect the same behavior when anvils fall on cobwebs.

Steps to Reproduce:

  1. Build the setup as shown in the provided attachment.

[media]
  1. Obtain an anvil and switch into survival mode.

  2. Place the anvil against the diamond block so that it falls on you.

  3. Wait for the anvil to fall through the cobweb.

  4. Take note as to whether or not falling anvils damage entities when landing on cobwebs.

Observed Behavior:

Falling anvils don't damage entities.

Expected Behavior:

Falling anvils would damage entities.

Linked issues

Attachments

Comments 5

This same concept also applies with powder snow.

I'll try to test this out.

Blocks can no longer fall through powder snow because of the recent changes made in 21w05a, so I've updated this ticket accordingly.

Anvils inflict damage only upon impact with the ground, while cobwebs reset their fall counter. This could be addressed by modifying anvils to inflict damage when their hitbox intersects with an entity, rather than relying solely on impact with the ground.

Avoma

(Unassigned)

Confirmed

(Unassigned)

anvil, cobweb

1.16.4, 20w46a, 20w48a, 20w49a, 20w51a, ..., 1.20.1, 1.21, 1.21.3, 1.21.4, 1.21.7

Retrieved