ride @s mount @e[type=minecraft:phantom,limit=1,sort=nearest]
execute if entity @s[nbt={OnGround:1b}] run data modify entity @e[type=minecraft:phantom,limit=1,sort=nearest] Motion set value [0d,3d,0d]
advancement revoke @s only survivalplus:tools/gethit/phantom