set_velocity

Sets the player's velocity to the specified x, y, z components.

Categories: movement

Required arguments

Key(s)DescriptionType
xThe X component of the velocity vector. Supports expressions.EXPRESSION
yThe Y component of the velocity vector. Supports expressions.EXPRESSION
zThe Z component of the velocity vector. Supports expressions.EXPRESSION

Trigger parameters required

  • PLAYER

Example

effects:
  - id: set_velocity
    args:
      x: 0
      y: 1.5
      z: 0

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue