mine_radius_one_deep
Mines blocks in a radius around the triggered block, only one layer deep in the direction the player is facing.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|---|---|
radius | The radius of blocks to break in the flat layer. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
prevent_trigger | Choices: false, true, keep_events | STRING | false |
disable_on_sneak | Whether the effect should be disabled while the player is sneaking. | BOOLEAN | false |
no_corners | Whether corner blocks at the edge of the radius should be excluded. | BOOLEAN | false |
whitelist | A list of blocks that are allowed to be broken. If omitted, all blocks are eligible. | BLOCK_LIST | [] |
blacklisted_blocks | A list of blocks that should never be broken by this effect. | BLOCK_LIST | [] |
check_hardness | Whether blocks harder than the triggered block should be skipped. | BOOLEAN | true |
use_blockface | BOOLEAN | false |
Trigger parameters required
PLAYER
Example
effects:
- id: mine_radius_one_deep
args:
radius: 3 + %level% / 20
prevent_trigger: false|true|keep_events # ← Optional
disable_on_sneak: true # ← Optional
no_corners: true # ← Optional
whitelist: <value> # ← Optional
blacklisted_blocks: <value> # ← Optional
check_hardness: true # ← Optional
use_blockface: true # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |