Compatibility
Minecraft: Java Edition
1.21.9–1.21.10
1.21.4–1.21.5
Platforms
Supported environments
Creators
Details
Velocity Command
Adds a server-side command to set the velocity of any entity
Usage
/velocity <entity> <velocity> [rotationContext]
e.g. /velocity @s ~ 3 ~
Arguments
entity: Entity selector, like vanilla teleport commandvelocity: Relative xyz velocity values, also like teleportrotationContext: When using directional (^) coordinates, determines the source of direction: "entity" for the entity's facing direction and "command" for the command context's source (for/execute facing), defaults to "entity"



