Apotheosis

Apotheosis

70M Downloads

BUG: Dropping an anvil on gems on a lower half slab destroys the gem and no dust appears

VallenFrostweaver opened this issue ยท 3 comments

commented

Minecraft 1.18.2
Forge 40.1.80
Apotheosis 5.7.0

Placed a half slab down. Tossed gem on top. Placed anvil a few blocks above it. Anvil falls down on gem and half slab & the anvil turns into a dropped item but the gem is deleted and no dust drops from the gem.

commented

Does the anvil pop off in this scenario (instead of landing)?

commented

Yes it does.

commented

So this is an interesting issue with a bit of compound issues going on:

  1. An anvil "popping" should not crush a gem - this is working as intended
  2. Apparently, anvils can deal damage to item entities, killing (deleting) them in the process.
  3. The above damage is basically up to randomness, because it requires that the entities AABB's intersect during the fall.

However, since the smashing of gems with anvils is going to be an intended process, I will need to mark them as invulnerable to anvil damage.