Game Maker

Explosion Block Break

Triggers for each block that is about to be broken by an explosion.

This event fires for every single block that is set to be destroyed by an explosion (from TNT, Creepers, etc.) within a region.

Action Values

  • Block: The block that is about to be destroyed.
  • Entity: The entity that caused the explosion (if applicable).
  • Location: The location of the block.

Event Configuration

  • Block Types: Filter to only affect certain types of blocks.
  • Cancel Event: If true, this specific block will be saved from the explosion, while others may still be destroyed.

Use Cases

  • Creating explosion-proof walls by cancelling the event for OBSIDIAN.
  • Creating a custom mining game where TNT only breaks ores and not stone.
  • Counting how many blocks were destroyed by an explosion.