Modify Velocity

Power Type

Modifies all velocity in a specified axis.

Type ID: origins:modify_velocity

Fields

Field Type Default Description
axes Array of Identifiers ["x","y","z"] Used to specify the axes affected by this modifier.
modifier Attribute Modifier optional If specified, this modifier will apply to velocity in the specified axes.
modifiers Array of Attribute Modifiers optional If specified, these modifiers will apply to the specified axes.

Examples

{
  "type": "origins:modify_velocity",
  "modifier": {
    "value": -2,
    "operation": "multiply_total"
  },
  "axes": [
    "x",
    "y",
    "z"
  ]
}

This example will make all of the player's velocity reversed. You'll fall upwards, your movement keys will be inverted, etc.