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
| Name | Type | Description |
|---|---|---|
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
| Key | Type | Default | Description |
|---|---|---|---|
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.
- Set Material Filter to DIAMOND_ORE
- Connect location → Drop Item node
- Set material to DIAMOND, amount to 1