data merge entity @s {damage:8d,SoundEvent:"entity.zombie.attack_iron_door",Tags:["jjc","jjc_vindicator_elite_j","jjc_vindicator_elite_j1"]}
summon item_display ~ ~ ~ {Tags:["jjc","jjc_nov","jjc_vindicator_elite_j2","jjc_vindicator_elite_j21"],item:{count:1,id:"minecraft:iron_axe"},transformation:{left_rotation:[0.75f,0.0f,-0.75f,-0.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f],scale: [1,1,1],translation:[0.0f,-0.4f,0.0f]}}
ride @n[distance=..200,type=item_display,tag=jjc_vindicator_elite_j21] mount @s
execute run data modify entity @s Owner set from entity @n[distance=..200,type=vindicator,tag=jjc_vindicator_elite,scores={jjc_303=10..}] UUID
execute positioned ~ ~0.6 ~ run data modify entity @n[distance=..200,type=item_display,tag=jjc_vindicator_elite_j21] item set from entity @n[distance=..200,type=vindicator,tag=jjc_vindicator_elite,scores={jjc_303=10..}] HandItems[0]
execute positioned ~ ~0.6 ~ store result entity @s damage double 1 run attribute @n[distance=..200,type=vindicator,tag=jjc_vindicator_elite,scores={jjc_303=10..}] generic.attack_damage get
execute run playsound entity.snowball.throw hostile @a[distance=..200] ~ ~ ~ 1 0
execute facing entity @n[distance=..200,tag=jjc_t] eyes run tp @s ~ ~ ~ ~ ~
execute positioned ~ ~1 ~ run data modify entity @n[distance=..200,type=item_display,tag=jjc_vindicator_elite_j2] Rotation set from entity @s Rotation
execute store result score @s jjc_x1 run data get entity @s Pos[0] 1000
execute store result score @s jjc_z1 run data get entity @s Pos[2] 1000
execute store result score @s jjc_y1 run data get entity @s Pos[1] 1000
scoreboard players remove @s jjc_y1 11000
execute as @n[distance=..60,tag=jjc_t] at @s store result score @s jjc_x2 run data get entity @s Pos[0] 1000
execute as @n[distance=..60,tag=jjc_t] at @s store result score @s jjc_z2 run data get entity @s Pos[2] 1000
execute as @n[distance=..60,tag=jjc_t] at @s store result score @s jjc_y2 run data get entity @s Pos[1] 1000
execute store result entity @s Motion[0] double -0.00005 run scoreboard players operation @s jjc_x1 -= @n[distance=..60,tag=jjc_t] jjc_x2
execute store result entity @s Motion[2] double -0.00005 run scoreboard players operation @s jjc_z1 -= @n[distance=..60,tag=jjc_t] jjc_z2
execute store result entity @s Motion[1] double -0.00005 run scoreboard players operation @s jjc_y1 -= @n[distance=..60,tag=jjc_t] jjc_y2