execute at @s[tag=!MobMentDone] run fill ~-1 ~-1 ~-1 ~1 ~1 ~1 cobweb replace air
execute at @s[tag=!MobMentDone] run setblock ~ ~ ~ minecraft:spawner{SpawnCount:1,SpawnRange:3,Delay:0,MinSpawnDelay:100,MaxSpawnDelay:300,MaxNearbyEntities:5,RequiredPlayerRange:25,SpawnData:{id:"minecraft:area_effect_cloud",Passengers:[{id:"minecraft:cave_spider"}]}}
execute at @s[tag=!MobMentDone] run execute at @e[type=spider,distance=..10] run summon minecraft:falling_block ~ ~.5 ~ {BlockState:{Name:"minecraft:cobweb"},Time:1,Motion:[0.2,0.4,0.2]}
execute at @s[tag=!MobMentDone] run execute at @e[type=spider,distance=..10] run summon minecraft:falling_block ~ ~.5 ~ {BlockState:{Name:"minecraft:cobweb"},Time:1,Motion:[-0.2,0.4,-0.2]}
execute at @s[tag=!MobMentDone] run execute at @e[type=spider,distance=..10] run summon minecraft:falling_block ~ ~.5 ~ {BlockState:{Name:"minecraft:cobweb"},Time:1,Motion:[0.2,0.4,-0.2]}
execute at @s[tag=!MobMentDone] run execute at @e[type=spider,distance=..10] run summon minecraft:falling_block ~ ~.5 ~ {BlockState:{Name:"minecraft:cobweb"},Time:1,Motion:[-0.2,0.4,0.2]}
execute at @s[tag=!MobMentDone] run tag @e[type=spider,distance=..11] add MobMentDone