shockwave
Creates an expanding shockwave that knocks back and damages nearby entities.
Categories: combat, movement
Required arguments
| Key(s) | Description | Type |
|---|
radius | The maximum radius the shockwave expands to. Supports expressions. | EXPRESSION |
pulses | How many pulses the shockwave expands over before reaching its full radius. Supports expressions. | EXPRESSION |
damage | The amount of damage dealt to each entity caught in the shockwave. Supports expressions. | EXPRESSION |
knockback | The knockback force applied to each entity hit. Supports expressions. | EXPRESSION |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
true_damage | If true, damage bypasses armor and resistance effects. | BOOLEAN | false |
use_source | If true, the player is attributed as the damage source. | BOOLEAN | false |
Trigger parameters required
Example
effects:
- id: shockwave
args:
radius: 5 + %level% * 0.5
pulses: <value>
damage: %level% * 2
knockback: 1 + %level% * 0.1
true_damage: true # ← Optional
use_source: true # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |