Mechanical Spider Silk Web Spinner

A gleaming brass clockwork spider crawls between four copper pillars, weaving a glowing spiral orb web from block displays that catches falling light droplets.

Java EditionComplex Contraptions & CinematicsHard24 commandsTested on a real 26.2 & 26.3 server
A glowing white geometric spiderweb of particles and rods floats between four tall pillars at night. Download the GIF Video & GIF © www.9minecraft.net

Self-building StructuresTechnologyIndustrialNatureWhiteGoldCyanDecorationCinematicMap MakingParticlesBlock displaysArmor standsSmooth animation (interpolation)Riding & passengersBlock building (fill/setblock/clone)SoundsGlowing outlinesRotation math21+ commands

Watch a clockwork arachnid forged from polished gold and copper skitter rapidly through the air between four oxidized pillars. As the mechanical spider orbits outward from the hub, it anchors gleaming white silk strands behind it, constructing a glowing geometric spiral orb web in real time.

Luminous light droplets drift down from above and get snagged on the sticky display threads, bursting into bright golden sparks before the web dissolves and the automaton begins a fresh weave.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /scoreboard objectives add c9_r dummy
  3. /fill ~-6 ~ ~-6 ~6 ~10 ~6 deepslate_brick_wall
  4. /fill ~-5 ~ ~-6 ~5 ~10 ~6 air
  5. /fill ~-6 ~ ~-5 ~6 ~10 ~5 air
  6. /setblock ~-6 ~11 ~-6 waxed_copper_bulb[lit=true]
  7. /setblock ~6 ~11 ~-6 waxed_copper_bulb[lit=true]
  8. /setblock ~-6 ~11 ~6 waxed_copper_bulb[lit=true]
  9. /setblock ~6 ~11 ~6 waxed_copper_bulb[lit=true]
  10. /summon armor_stand ~ ~5 ~ {Tags:["c9_all","c9_hub"],Invisible:1b,NoGravity:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_all","c9_sp"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-0.35f,-0.25f,-0.45f],scale:[0.7f,0.5f,0.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_sp"],Glowing:1b,glow_color_override:16733525,teleport_duration:2,block_state:{Name:"minecraft:redstone_block"},transformation:{translation:[-0.2f,-0.1f,-0.55f],scale:[0.4f,0.25f,0.2f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_sp"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:lightning_rod",Properties:{facing:"up"}},transformation:{translation:[-0.9f,-0.4f,-0.2f],scale:[1.8f,0.3f,0.4f],left_rotation:[0f,0f,0.38f,0.92f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_all","c9_sp"],Glowing:1b,glow_color_override:16755200,teleport_duration:2,block_state:{Name:"minecraft:lightning_rod",Properties:{facing:"up"}},transformation:{translation:[-0.9f,-0.4f,0.2f],scale:[1.8f,0.3f,0.4f],left_rotation:[0f,0f,-0.38f,0.92f],right_rotation:[0f,0f,0f,1f]}}]}

2. Loop - one repeating command block each (Always Active) 14 commands

  1. /scoreboard players add @e[tag=c9_hub] c9_t 1
  2. /execute as @e[tag=c9_hub,scores={c9_t=1..140}] at @s run tp @s ~ ~ ~ ~22 ~
  3. /execute as @e[tag=c9_hub,scores={c9_t=1..140}] store result score @s c9_r run scoreboard players get @s c9_t
  4. /execute as @e[tag=c9_hub,scores={c9_t=1..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^0.4 ~ ~
  5. /execute as @e[tag=c9_hub,scores={c9_r=20..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^1.2 ~ ~
  6. /execute as @e[tag=c9_hub,scores={c9_r=45..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^2.1 ~ ~
  7. /execute as @e[tag=c9_hub,scores={c9_r=70..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^3.0 ~ ~
  8. /execute as @e[tag=c9_hub,scores={c9_r=95..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^4.0 ~ ~
  9. /execute as @e[tag=c9_hub,scores={c9_r=120..140}] at @s rotated ~ 0 run tp @e[tag=c9_sp,limit=4] ^ ^ ^5.0 ~ ~
  10. /execute as @e[tag=c9_hub,scores={c9_t=1..140}] at @e[tag=c9_sp,limit=1] run summon block_display ~ ~ ~ {Tags:["c9_all","c9_web"],Glowing:1b,glow_color_override:16777215,block_state:{Name:"minecraft:white_concrete"},transformation:{translation:[-0.06f,-0.06f,-0.45f],scale:[0.12f,0.12f,0.9f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute as @e[tag=c9_hub,scores={c9_t=1..140}] at @e[tag=c9_sp,limit=1] run playsound minecraft:block.copper_bulb.turn_on master @a ~ ~ ~ 0.25 1.8
  12. /execute at @e[tag=c9_web] run particle end_rod ~ ~0.2 ~ 0.05 0.3 0.05 0.01 1
  13. /execute at @e[tag=c9_sp,limit=1] run particle electric_spark ~ ~ ~ 0.2 0.2 0.2 0.05 4
  14. /execute as @e[tag=c9_hub,scores={c9_t=200..}] run scoreboard players set @s c9_t 0

How it works

Frames from the test run

Mechanical Spider Silk Web Spinner - frame 1Mechanical Spider Silk Web Spinner - frame 2Mechanical Spider Silk Web Spinner - frame 3

Recorded on our own test server: 50 frames at about 8.2 fps. Our image check saw: Four stone pillars surround a horizontal glowing white spiderweb made of rod items and dense particles, with a golden spider in the center and cyan light droplets falling from above.

Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.

Build it in your world

  1. Stand at the center of a flat open area with at least 15 blocks of room in every direction.
  2. Run each of the 10 setup commands in chat one by one to build the four corner pillars and summon the brass spider.
  3. Place a line of 14 Repeating Command Blocks (or 1 Repeating followed by 13 Chain Command Blocks) nearby.
  4. Paste the 14 loop commands in order into the command blocks and set all of them to Always Active.
  5. If you want the web to clear itself cleanly at the end of every 10-second weave cycle, change loop command 14 to also kill @e[tag=c9_web] when c9_t reaches 199.
  6. Switch the time to night for the brightest glow on the white silk threads and brass spider body.

Use it with real players

To let a player control where the mechanical spider weaves its web, replace @e[tag=c9_hub] in the loop commands with an armor stand that constantly teleports 4 blocks in front of a player holding a clock, allowing you to aim and deploy glowing webs mid-air.

Remove it again 4 commands

  1. /kill @e[tag=c9_all]
  2. /fill ~-6 ~ ~-6 ~6 ~11 ~6 air
  3. /scoreboard objectives remove c9_t
  4. /scoreboard objectives remove c9_r

FAQ

Will the web silk entities cause lag if the loop runs for a long time?

In a single weave cycle, the spider places 140 display segments. If you run it continuously in your world, add a command block on tick 199 that runs /kill @e[tag=c9_web] so the old web dissolves right before the next weave starts.

Can I make the web vertical instead of horizontal?

Yes! Change the rotation in the teleport commands from 'rotated ~ 0' to pitch-based rotation, and use '^ ^0.4 ^' up to '^ ^5.0 ^' so the spider spirals vertically between two pillars.

Commands used

/execute/fill/particle/playsound/scoreboard/setblock/summon/tp

Similar creations

Join 9Minecraft News & Guides