Entity
paper/entity_velocity
Entity Velocity
Gets or sets an entity's velocity vector.
Note: Velocity is in blocks/tick. 1 block/tick = 20 blocks/second.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
entity |
entity | The entity. | |
velocity |
vector | ✓ | New velocity vector (for SET). |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after the operation. |
velocity |
vector | Current velocity of the entity. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
op |
select | "GET" |
Operation |