drill
Breaks a line of blocks in front of the player in their look direction.
Categories: world
Required arguments
| Key(s) | Description | Type |
|---|
amount | The number of blocks to break in a line. Supports expressions. | EXPRESSION |
check_hardness | If true, only blocks with hardness ≤ the trigger block are broken. | BOOLEAN |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
disable_on_sneak | If true, the drill effect is disabled while the player is sneaking. | BOOLEAN | false |
prevent_trigger | If true, breaking additional blocks will not fire further libreforge triggers. | BOOLEAN | false |
whitelist | Only these block types will be broken by the drill. | BLOCK_LIST | |
blacklisted_blocks | These block types will never be broken by the drill. | BLOCK_LIST | |
Trigger parameters required
Example
effects:
- id: drill
args:
amount: 3 + %level%
check_hardness: <value>
disable_on_sneak: true # ← Optional
prevent_trigger: true # ← Optional
whitelist: <value> # ← Optional
blacklisted_blocks: <value> # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |