mine_vein
Mines an entire connected vein of the same block type up to a configurable limit.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|
limit | The maximum number of connected blocks to break in one vein. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
blocks | A list of block types to consider part of the vein. Defaults to the same type as the mined block. | BLOCK_LIST | [] |
prevent_trigger | Whether to prevent the vein blocks from re-triggering this effect. | BOOLEAN | false |
disable_on_sneak | Whether to disable vein mining when the player is sneaking. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: mine_vein
args:
limit: 10 + %level%
blocks: <value> # ← Optional
prevent_trigger: true # ← Optional
disable_on_sneak: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |