#Falling block collision detection

1 messages · Page 1 of 1 (latest)

delicate geode
#

Hello, a part of my code is about launching a flying anvil in a certain direction.

I want the anvil to deal damage if it collides with entities.

I've tried the setHurtEntities and canHurtEntities methods but it only deals damage when it becomes a solid bloc, not by colliding with entities.

Do you know if there's an event or something that detect if a falling block goes throught an entity ?

Thx in advance !