Skip to main content

Set Velocity Action

Set player velocity

Fields

FieldTypeDefaultDescription
xDouble0.0—
yDouble0.0—
zDouble0.0—
relativeBooleantrue—
Common TypeWriter fields (criteria, modifiers, triggers)
FieldTypeDefaultDescription
criteriaList<Criteria>empty—
modifiersList<Modifier>empty—
triggersList<Ref<TriggerableEntry>>empty—

How to use it​

x, y and z are blocks per tick. With relative off the player's velocity is replaced; with it on the vector is added to the current velocity. For a jump pad, use a positive y around 1.0.