execute as @e[type=ghast,tag=jjc_ghast_gunship,tag=jjc_ghast_gunship_s,scores={jjc_303=1}] at @s anchored eyes positioned ^ ^ ^ store result score @s jjc_x1 run data get entity @n[distance=..200,type=fireball,tag=!jjc_ghast_gunship_j_detected] Motion[0] 1000
execute as @e[type=ghast,tag=jjc_ghast_gunship,tag=jjc_ghast_gunship_s,scores={jjc_303=1}] at @s anchored eyes positioned ^ ^ ^ store result score @s jjc_y1 run data get entity @n[distance=..200,type=fireball,tag=!jjc_ghast_gunship_j_detected] Motion[1] 1000
execute as @e[type=ghast,tag=jjc_ghast_gunship,tag=jjc_ghast_gunship_s,scores={jjc_303=1}] at @s anchored eyes positioned ^ ^ ^ store result score @s jjc_z1 run data get entity @n[distance=..200,type=fireball,tag=!jjc_ghast_gunship_j_detected] Motion[2] 1000