Class EntityDamageByBlockEvent

All Implemented Interfaces:
Cancellable

public class EntityDamageByBlockEvent extends EntityDamageEvent
Called when an entity is damaged by a block

For explosions, the Block returned by getDamager() has already been cleared. See getDamagerBlockState() for a snapshot of the block if it has already been changed.