Passive Listener Block Break - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

PassiveSpell trigger: blockbreak

Properties:

Property Value
Cancellable true
Has Entity Target false
Has Location Target true

Description:

The listener activates whenever a player breaks a block.

String Format Options:

Argument is optional, but it may be a comma-separated list of block materials.

triggers:
    - blockbreak (materials)

Config Format Options:

(Unsupported for now.)