summon vex ~ ~3 ~ {Tags:["jjc_mob","jjc_vex_big"],HandItems:[{id:"iron_sword",count:1},{}],attributes:[{id:"generic.movement_speed",base:1.4},{id:"generic.scale",base:3},{id:"generic.attack_damage",base:0},{id:"generic.max_health",base:20},{id:"generic.follow_range",base:40d}],Health:20,Motion:[0d,-0.1d,0d],active_effects:[{id:"minecraft:luck",amplifier:97b,duration:20,show_particles:0b}]}
execute positioned ~ ~3 ~ run data modify entity @n[distance=..200,type=vex,tag=jjc_vex_big] BoundX set from entity @n[distance=..200,type=marker,tag=jjc_jjc] Pos[0]
execute positioned ~ ~3 ~ run data modify entity @n[distance=..200,type=vex,tag=jjc_vex_big] BoundY set from entity @n[distance=..200,type=vex,tag=jjc_vex_big] Pos[1]
execute positioned ~ ~3 ~ run data modify entity @n[distance=..200,type=vex,tag=jjc_vex_big] BoundZ set from entity @n[distance=..200,type=marker,tag=jjc_jjc] Pos[2]