mine_radius

Mines all blocks in a cube radius around the triggered block.

Categories: world

Required arguments

Key(s)DescriptionType
radiusThe radius of blocks to break around the triggered block. 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
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
    args:
      radius: 2 + %level% / 20
      prevent_trigger: true # ← Optional
      disable_on_sneak: true # ← Optional
      whitelist: <value> # ← Optional
      blacklisted_blocks: <value> # ← Optional
      check_hardness: true # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue