Set Velocity
Sets velocity, optionally adding the current velocity. All components must be finite and the resulting speed at most 100 blocks/tick.
Where to find it
Section titled “Where to find it”Call Method → Target Object: Entity or a compatible subtype → Choose Operation → Movement & Navigation. Requires Dev access to configure, then a successful compile to activate.
Inputs
Section titled “Inputs”| Input | Type | Role | Requirement | Default / constraint |
|---|---|---|---|---|
| Velocity | Vector | Value | Required | Required |
| Add to Current Velocity | Boolean | Value | Required | Required |
Result and behavior
Section titled “Result and behavior”Applies its behavior to the configured receiver; it does not create a separate value-result destination.
Configuration example
Section titled “Configuration example”Block: Call MethodOperation: Set VelocityTarget Object: Entity target in this plotVelocity: Vector (0, 1, 0)Add to Current Velocity: trueUse this as an editor configuration: declare any Variables/collections first and choose real locations/eligible targets for your plot. It is not pasteable source code.
Restrictions and troubleshooting
Section titled “Restrictions and troubleshooting”The receiver must satisfy the declared native capability and remain eligible for the running plot. Player actions require an appropriate Play participant; a Build/Dev player is not automatically eligible.
Runtime validation: Velocity must be finite and at most 100 blocks per tick.
Related guides
Section titled “Related guides”Editor · Arguments · Targets · Expressions · Native behavior
Reference identifier: entity.velocity.