Class BlockExplodeEvent

All Implemented Interfaces:
Cancellable

public class BlockExplodeEvent extends BlockEvent implements Cancellable
Called when a block explodes.

Note that due to the nature of explosions, BlockEvent.getBlock() will always be an air block. getExplodedBlockState() should be used to get information about the block state that exploded.

The event isn't called if the GameRule.MOB_GRIEFING is disabled as no block interaction will occur.