execute if entity @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] run playsound minecraft:entity.illusioner.prepare_mirror hostile @a[distance=..200] ~ ~ ~ 2 2
execute if entity @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] run particle witch ~ ~1 ~ 0.25 0.5 0.25 1 50 force
execute at @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] run particle witch ~ ~1 ~ 0.25 0.5 0.25 0.2 50 force
data modify entity @s leash.UUID set from entity @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] UUID
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s store result entity @s attributes[{id:"minecraft:generic.scale"}].base double 0.000125 run attribute @s generic.scale base get 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.scale[0] float 0.000125 run data get entity @s transformation.scale[0] 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.scale[1] float 0.000125 run data get entity @s transformation.scale[1] 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.scale[2] float 0.000125 run data get entity @s transformation.scale[2] 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.translation[0] float 0.000125 run data get entity @s transformation.translation[0] 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.translation[1] float 0.000125 run data get entity @s transformation.translation[1] 10000
execute as @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] at @s on passengers at @s[type=#colosseum_of_fools:marker] store result entity @s transformation.translation[2] float 0.000125 run data get entity @s transformation.translation[2] 10000
tag @n[type=#colosseum_of_fools:mob,type=!#colosseum_of_fools:fly,tag=jjc_mob,tag=!jjc_enchanter01,distance=0.01..10,tag=!jjc_enchanter] add jjc_enchanter01