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

NameTypeOptionalDescription
exec exec Incoming execution.
entity entity The entity.
velocity vector New velocity vector (for SET).

Outputs

NameTypeDescription
exec exec Continues after the operation.
velocity vector Current velocity of the entity.

Properties

KeyTypeDefaultDescription
op select "GET" Operation