execute as @e[type=cave_spider,tag=jjc_brooding_spider,scores={jjc_404=10}] at @s run playsound entity.llama.spit hostile @a[distance=..200] ~ ~ ~ 2 1

execute as @e[type=cave_spider,tag=jjc_brooding_spider,scores={jjc_404=10}] at @s run summon arrow ^ ^3 ^-2 {Tags:["jjc_brooding_spider_j0","jjc_brooding_spider_j2"],item:{id:"arrow",components:{potion_contents:{potion:"poison"}}},damage:0.001,SoundEvent:"entity.slime.jump",Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_brooding_spider_j_zs","jjc_brooding_spider_j"],item:{id:"green_stained_glass"},transformation:{translation:[0f,-0.5f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[1f,1f,1f]}},{id:"item_display",Tags:["jjc","jjc_nov","jjc_brooding_spider_j_zs"],item:{id:"green_concrete_powder"},transformation:{translation:[0f,-0.5f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,1f,0f,0f],scale:[0.6f,0.6f,0.6f]}}]}
scoreboard players reset @e[type=cave_spider,tag=jjc_brooding_spider,scores={jjc_404=10..}] jjc_404