Compatibility
Minecraft: Java Edition
1.21.4–1.21.5
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+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"