ConditionEntity

directionalvelocity

If the target has a velocity matching the given parameters

Aliases

dvelocity

Configuration Fields (7)

NameTypeDefaultDescription
x
x
RangedDoubleThe X velocity
absx
absx
booleanfalseUse the absolute value of the X velocity
y
y
RangedDoubleThe Y velocity
absy
absy
booleanfalseUse the absolute value of the Y velocity
z
z
RangedDoubleThe Z velocity
absz
absz
booleanfalseUse the absolute value of the Z velocity
relative
rel
booleanfalseIf true, X is forward/backward and Z is side-to-side

Examples & Notes

Examples

In this example, we check if the players y velocity is under an absolute value of 5.

  Conditions:
  - directionalVelocity{y=<0;absx=true} true

Universal Condition Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.