execute as @e[type=block_display,tag=id1_knight_q_projectile] on passengers run function animated_java:knight_q/remove/this
execute as @e[type=block_display,tag=id1_knight_q_projectile] run kill @s

playsound item.trident.riptide_3 master @a ~ ~ ~ 2 1

tag @e[type=#main:enemies,tag=enemy,tag=knight_q_hit] remove knight_q_hit

function main:mechanics/damage/enemy/calculation {"id":id1,"character":knight,"type":"q","damage":150,"stat":"attack","local_bonus":0,"indicator":3}

execute at @s anchored eyes run function main:mechanics/projectile/projectile {"id":id1,"character":knight,"type":q,"distance":200,"texture":"minecraft:barrier","size":"2f,2f,1f","translation":"0f,0f,0f","x":"~","y":"~","angle_1":"~","angle_2":"~","pierce":',"pierce","upgrade_1"'}
function animated_java:knight_q/summon with storage aj:temp
execute as @e[type=item_display,tag=aj.knight_q.root,tag=newborn] run ride @s mount @n[type=block_display,tag=id1_knight_q_projectile]
execute as @e[type=item_display,tag=aj.knight_q.root,tag=newborn] run function animated_java:knight_q/animations/spin/tween {"to_frame":0,"duration":0}
execute as @e[type=item_display,tag=aj.knight_q.root,tag=newborn] run tag @s remove newborn