drill

Breaks a line of blocks in front of the player in their look direction.

Categories: world

Required arguments

Key(s)DescriptionType
amountThe number of blocks to break in a line. Supports expressions.EXPRESSION
check_hardnessIf true, only blocks with hardness ≤ the trigger block are broken.BOOLEAN

Optional arguments

Key(s)DescriptionTypeDefault
disable_on_sneakIf true, the drill effect is disabled while the player is sneaking.BOOLEANfalse
prevent_triggerIf true, breaking additional blocks will not fire further libreforge triggers.BOOLEANfalse
whitelistOnly these block types will be broken by the drill.BLOCK_LIST
blacklisted_blocksThese block types will never be broken by the drill.BLOCK_LIST

Trigger parameters required

  • PLAYER

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

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue