function template:captain_guy/summon {args:{}}
function template:dbm_captain/summon {args:{}}
summon minecraft:drowned ~5 ~10 ~30 {Silent:1b,Tags:["AIc"],equipment:{head:{id:"minecraft:barrier",count:1,components:{"minecraft:item_model":"minecraft:air"}}},active_effects:[{id:"minecraft:invisibility",amplifier:1,duration:-1,show_particles:0b}]}
effect give @e[tag=AIc] water_breathing 50000 3 true
effect give @e[tag=AIc] resistance 50000 1 true
effect give @e[tag=AIc] health_boost 50000 2 true
execute as @e[tag=captain_guy] run function template:captain_guy/animations/swim_animation/play
attribute @n[tag=AIc] minecraft:follow_range base set 50