$execute facing entity @p feet anchored eyes positioned ^ ^ ^1 rotated as @s positioned ^ ^ ^30 facing entity @s eyes facing ^ ^ ^-1 positioned as @s run tp @s ^ ^ ^$(distance) ~ ~
$execute unless block ^ ^ ^$(distance) #kohara:non_solid run function stellarity:mobs/dragon/attacks/fireball/detonate
execute unless block ^ ^ ^ #kohara:non_solid run function stellarity:mobs/dragon/attacks/fireball/detonate
