set_victim_velocity
Sets the victim entity's velocity to the specified x, y, z components.
Categories: combat, movement
Required arguments
| Key(s) | Description | Type |
|---|---|---|
x | The X component of the velocity vector. Supports expressions. | EXPRESSION |
y | The Y component of the velocity vector. Supports expressions. | EXPRESSION |
z | The Z component of the velocity vector. Supports expressions. | EXPRESSION |
Trigger parameters required
VICTIM
Example
effects:
- id: set_victim_velocity
args:
x: 0
y: 1.5
z: 0
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |