Only when the player is near a block and triggers an enchantment (tick or location_changed) to gain motion, the motion will be lost in the corresponding direction according to the distance from the block. The greater the motion, the larger the detection range for this loss.
Thank you for helping us improve Minecraft! We saved your files: