set %e:ENTITY_POSSESSIVE% velocity [to] %x:EXPR% %y:EXPR% %z:EXPR% — Statements

set %e:ENTITY_POSSESSIVE% velocity [to] %x:EXPR% %y:EXPR% %z:EXPR%
Entity1.0.0

Description

Sets an entity's velocity to the given x, y, z components.

Examples

set mob's velocity to 0 1 0

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

set <e> velocity <x> <y> <z>
set <e> velocity to <x> <y> <z>

Related (Entity)