Different ways to move entities
Every time the entity ticks, the entity moves by the entity velocity. Entities have a friction coefficient (even when on air) of x0.99 or x0.98, which is applied to their velocity every time the entity ticks.
Tile entity of moving pistons pushing entity, capped at 0.51 block per axis per gt
A minecart will snap to a rail if its position is in the rail’s block or the block above, it will move to a postion depending on the curve and slope of the rail, up to 0.75 blocks sideways with curved rail, 1.9375 block downward.