Two giant glowing spiders perch on obsidian pillars, tracking targets below and launching homing cobweb projectiles that burst into sticky web traps.
Custom MobsHorrorDarkWhiteBlackCyanBoss FightAdventure MapMap MakingBlock displaysSummoned mobsBlock building (fill/setblock/clone)SoundsRotation math21+ commands
Two oversized glowing spiders sit atop obsidian pillars in the middle of the arena, rotating to track wandering villagers below. Every couple of seconds, they fire glowing cobweb projectiles that streak through the air with white silk trails and burst into sticky cobweb traps on impact.
Everything runs in vanilla Minecraft using scaled spider attributes, block displays for projectiles, and directional vector movement.
/scoreboard objectives add c9_t dummy/fill ~-5 ~ ~-1 ~-3 ~2 ~1 obsidian/fill ~3 ~ ~-1 ~5 ~2 ~1 obsidian/summon marker ~ ~ ~ {Tags:["c9_all","c9_ctrl"]}/summon spider ~-4 ~3 ~ {Tags:["c9_all","c9_sp"],NoAI:1b,Glowing:1b,Silent:1b,PersistenceRequired:1b,CustomName:'{"text":"Brood Sniper","color":"dark_red"}',attributes:[{id:"minecraft:scale",base:1.8d}]}/summon spider ~4 ~3 ~ {Tags:["c9_all","c9_sp"],NoAI:1b,Glowing:1b,Silent:1b,PersistenceRequired:1b,CustomName:'{"text":"Silk Weaver","color":"red"}',attributes:[{id:"minecraft:scale",base:1.8d}]}/summon villager ~-3 ~ ~4 {Tags:["c9_all","c9_prey"],Glowing:1b,Invulnerable:1b,PersistenceRequired:1b}/summon villager ~3 ~ ~-4 {Tags:["c9_all","c9_prey"],Glowing:1b,Invulnerable:1b,PersistenceRequired:1b}/scoreboard players set @e[tag=c9_sp,limit=1] c9_t 18/scoreboard players add @e[tag=c9_all] c9_t 1/execute as @e[tag=c9_prey,distance=10..] at @s facing ~ ~ ~ run tp @s ^ ^ ^0.35 ~ ~/execute as @e[tag=c9_sp] at @s facing entity @e[tag=c9_prey,sort=nearest,limit=1] eyes run tp @s ~ ~ ~ ~ ~/execute as @e[tag=c9_sp,scores={c9_t=35..}] at @s anchored eyes run summon block_display ^ ^ ^1 {Tags:["c9_all","c9_web"],Glowing:1b,block_state:{Name:"minecraft:cobweb"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.35f,-0.35f,-0.35f],scale:[0.7f,0.7f,0.7f]}}/execute as @e[tag=c9_sp,scores={c9_t=35..}] at @s run playsound minecraft:entity.spider.ambient master @a ~ ~ ~ 1 0.6/scoreboard players set @e[tag=c9_sp,scores={c9_t=35..}] c9_t 0/execute as @e[tag=c9_web] at @s facing entity @e[tag=c9_prey,sort=nearest,limit=1] eyes run tp @s ^ ^ ^0.65 ~ ~/execute at @e[tag=c9_web] run particle dust{color:[0.95,0.95,1.0],scale:1.4} ~ ~ ~ 0.12 0.12 0.12 0 5 force/execute as @e[tag=c9_web] at @s if entity @e[tag=c9_prey,distance=..1.5] run setblock ~ ~ ~ cobweb keep/execute as @e[tag=c9_web] at @s if entity @e[tag=c9_prey,distance=..1.5] run particle poof ~ ~0.5 ~ 0.4 0.4 0.4 0.05 20 force/execute as @e[tag=c9_web] at @s if entity @e[tag=c9_prey,distance=..1.5] run kill @s/kill @e[tag=c9_web,scores={c9_t=60..}]/execute as @e[tag=c9_ctrl,scores={c9_t=100..}] run fill ~-12 ~ ~-12 ~12 ~5 ~12 air replace cobweb/scoreboard players set @e[tag=c9_ctrl,scores={c9_t=100..}] c9_t 0setup #5 Summons a giant glowing spider perched on the first obsidian pillar using the <code>minecraft:scale</code> attribute set to 1.8.loop #3 Rotates each spider every tick so it always faces the nearest target's eyes.loop #4 Every 35 ticks (1.75 seconds), each spider summons a glowing cobweb <code>block_display</code> projectile right in front of its eyes.loop #7 Steers the cobweb projectile 0.65 blocks forward per tick toward the nearest target using local <code>^ ^ ^</code> coordinates.loop #9 When a web projectile reaches within 1.5 blocks of a target, it places a real cobweb block to snare them in place.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: Two glowing spiders sit on obsidian blocks and shoot cobweb projectiles with white particle trails at glowing villagers below, while a giant glowing cyan book floats above.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the spiders attack real players instead of villagers, replace every instance of @e[tag=c9_prey...] in the loop commands with @a[gamemode=!spectator,...]. You can also remove NoAI:1b from the spider summon commands if you want the spiders to chase players around while shooting webs.
/fill ~-5 ~ ~-1 ~5 ~2 ~1 air replace obsidian/fill ~-12 ~ ~-12 ~12 ~5 ~12 air replace cobweb/kill @e[tag=c9_all]/scoreboard objectives remove c9_tThe last two loop commands use a timer on the controller marker to clear placed cobwebs every 100 ticks (5 seconds), keeping the arena clean.
Yes. Change the <code>c9_t=35..</code> score check in loop commands 3, 4, and 5 to a lower number like <code>20..</code> for once per second, or a higher number for slower shots.
/execute/fill/kill/particle/playsound/scoreboard/setblock/summon/tp
▶Floating Candelabra Poltergeist ButlerCustom MobsMedium24 cmds
▶Marimba Xylophone Skeleton VirtuosoCustom MobsHard24 cmds
▶Apocalypse Riders vs. Sky Raiders Automated BattleCustom MobsHard24 cmds
▶Awakened Mimic Chest MobCustom MobsMedium24 cmds
▶Broodmother Spider Boss DemoCustom MobsMedium24 cmds
▶Explosive Bat SwarmCustom MobsEasy24 cmds