set_victim_velocity

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

Categories: combat, 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

  • VICTIM

Example

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

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue