跳到主要内容

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.