Перейти к основному содержимому

Set Velocity Action

Set player velocity

Поля

ПолеТипПо умолчаниюОписание
xDouble0.0—
yDouble0.0—
zDouble0.0—
relativeBooleantrue—
Общие поля TypeWriter (criteria, modifiers, triggers)
ПолеТипПо умолчаниюОписание
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.