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)DescriptionType
radiusThe radius of blocks to break in the flat layer. Supports expressions.EXPRESSION

Optional arguments

Key(s)DescriptionTypeDefault
prevent_triggerWhether breaking these blocks should prevent triggering further effects.BOOLEANfalse
disable_on_sneakWhether the effect should be disabled while the player is sneaking.BOOLEANfalse
no_cornersWhether corner blocks at the edge of the radius should be excluded.BOOLEANfalse
whitelistA list of blocks that are allowed to be broken. If omitted, all blocks are eligible.BLOCK_LIST[]
blacklisted_blocksA list of blocks that should never be broken by this effect.BLOCK_LIST[]
check_hardnessWhether blocks harder than the triggered block should be skipped.BOOLEANtrue

Trigger parameters required

  • PLAYER

Example

effects:
  - id: mine_radius_one_deep
    args:
      radius: 3 + %level% / 20
      prevent_trigger: true # ← Optional
      disable_on_sneak: true # ← Optional
      no_corners: true # ← Optional
      whitelist: <value> # ← Optional
      blacklisted_blocks: <value> # ← Optional
      check_hardness: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue