Triggers trigger/block_break

Block Break Trigger

Fires when a player breaks a block. Optionally filters by material type.

Note: Cancel this event using an Event Cancel node to prevent the block from actually being broken.

Outputs

NameTypeDescription
exec exec Fires when a block is broken.
player player The player who broke the block.
block string Material name of the broken block (e.g. DIAMOND_ORE).
location location Location of the broken block.

Properties

KeyTypeDefaultDescription
material string "" Only fire for this material. Leave blank to fire for any block.

Examples

Diamond ore drop bonus

Drop an extra diamond when a player breaks DIAMOND_ORE.

  1. Set Material Filter to DIAMOND_ORE
  2. Connect location → Drop Item node
  3. Set material to DIAMOND, amount to 1