|
|
Mechanic: Velocity
|
|
|
==================
|
|
|
==============
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
Modifies the velocity of the targeted entity(s). May be used on players,
|
|
|
too. Useful for all sorts of things like true knockback resistance,
|
|
|
force-skills or simulated wind.
|
|
|
|
|
|
Attributes
|
|
|
----------
|
|
|
## Attributes:
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|-----------|---------|-------------------------------------------------------------------------|---------------|
|
... | ... | @@ -16,10 +16,7 @@ Attributes |
|
|
| velocityz | vz, z | Velocity on the z-axis. Can be negative. | 1 |
|
|
|
| relative | | If the change in velocity should be relative to the target's facing direction. In this instance, the `z` axis becomes `forward/backward`, `y` becomes `up/down` and `x` becomes `left/right` | false |
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
--------
|
|
|
## Examples:
|
|
|
|
|
|
This example will stop all momentum of the casting mob upon taking
|
|
|
damage. The effect will only last until the mob decides to move again or
|
... | ... | |