summon minecraft:pig ^ ^ ^0.8 {Tags:["motion_projectile"]}
execute as @e[tag=motion_projectile] at @s rotated as @p run tp @s ~ ~ ~ ~ ~
execute as @e[tag=motion_projectile] at @s run function ps:apply_motion
