Six golden needles orbit a floating amethyst core in figure-eight paths, weaving glowing white silk threads into a dense, shimmering spherical cocoon.
Holy & Light MagicMysticHoly & LightWhiteGoldCyanDecorationCinematicMap MakingBlock displaysItem displaysGlowing outlinesRotation math21+ commands
Watch six golden needles orbit a levitating amethyst crystal at high speed, carving out figure-eight paths in midair. As they dart around the core, they leave behind persistent glowing white silk threads that gradually build up a dense, shimmering spherical lattice.
Once the cocoon is completely woven around the crystal, it pulses with golden light and bursts open in a bright shower of sparks before the weaving cycle begins anew.
/scoreboard objectives add c9_t dummy/summon block_display ~ ~4.5 ~ {Tags:["c9_all","c9_core"],Glowing:1b,glow_color_override:11141375,brightness:{sky:15,block:15},block_state:{Name:"minecraft:amethyst_block"},transformation:{left_rotation:[0.35f,0.35f,0.15f,0.85f],right_rotation:[0f,0f,0f,1f],scale:[1.3f,1.3f,1.3f],translation:[-0.65f,-0.65f,-0.65f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g1"],Rotation:[0f,20f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g1"],Rotation:[120f,-35f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g1"],Rotation:[240f,15f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g2"],Rotation:[60f,-20f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g2"],Rotation:[180f,35f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/summon item_display ~ ~4.5 ~ {Tags:["c9_all","c9_n","c9_g2"],Rotation:[300f,-15f],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:blaze_rod",count:1},transformation:{left_rotation:[0f,0f,0.383f,0.924f],right_rotation:[0f,0f,0f,1f],scale:[0.55f,0.55f,1.4f],translation:[0f,0f,2.9f]}}/scoreboard players add #t c9_t 1/execute if score #t c9_t matches 101.. run scoreboard players set #t c9_t 1/execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~5 ~3/execute if score #t c9_t matches 1..25 as @e[tag=c9_g1] at @s run tp @s ~ ~ ~ ~15 ~6/execute if score #t c9_t matches 26..50 as @e[tag=c9_g1] at @s run tp @s ~ ~ ~ ~15 ~-6/execute if score #t c9_t matches 51..75 as @e[tag=c9_g1] at @s run tp @s ~ ~ ~ ~15 ~6/execute if score #t c9_t matches 76..90 as @e[tag=c9_g1] at @s run tp @s ~ ~ ~ ~15 ~-10/execute if score #t c9_t matches 1..25 as @e[tag=c9_g2] at @s run tp @s ~ ~ ~ ~-15 ~-6/execute if score #t c9_t matches 26..50 as @e[tag=c9_g2] at @s run tp @s ~ ~ ~ ~-15 ~6/execute if score #t c9_t matches 51..75 as @e[tag=c9_g2] at @s run tp @s ~ ~ ~ ~-15 ~-6/execute if score #t c9_t matches 76..90 as @e[tag=c9_g2] at @s run tp @s ~ ~ ~ ~-15 ~10/execute if score #t c9_t matches 1..85 as @e[tag=c9_n] at @s positioned ^ ^ ^2.8 run summon block_display ~ ~ ~ {Tags:["c9_all","c9_s"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},block_state:{Name:"minecraft:white_stained_glass"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.07f,0.07f,0.75f],translation:[-0.035f,-0.035f,-0.375f]}}/execute if score #t c9_t matches 1..90 as @e[tag=c9_n] at @s positioned ^ ^ ^2.9 run particle dust_color_transition{from_color:[1.0,0.85,0.1],to_color:[1.0,1.0,1.0],scale:1.3} ~ ~ ~ 0.08 0.08 0.08 0 3 force/execute if score #t c9_t matches 95..100 run kill @e[tag=c9_s]setup #3 Summons the first group of golden needles using <code>item_display</code> entities holding blaze rods. By offsetting their local Z translation by <code>2.9f</code>, rotating the entity at the core's center makes the needle orbit along a spherical shell of radius 2.9 blocks.loop #4 Alternates the pitch rotation between positive and negative angles every 25 ticks while keeping a steady yaw rotation. Because entity pitch is clamped between -90 and +90 degrees, oscillating the pitch prevents the needles from getting stuck at the poles and creates figure-eight weaving paths.loop #8 Rotates the second trio of needles in the exact opposite yaw and pitch directions so the two groups cross over each other, weaving an interlocking lattice around the amethyst core.loop #12 Summons thin, glowing <code>white_stained_glass</code> block displays at the local coordinate <code>^ ^ ^2.8</code> (right behind each orbiting needle) with full sky and block brightness, leaving persistent 3D silk threads that build up into a cocoon.loop #14 Clears all woven silk threads at the end of the 100-tick cycle so the entity count stays safe and the needles can begin weaving a fresh cocoon.


Recorded on our own test server: 58 frames at about 9.6 fps. Our image check saw: A floating amethyst block and glowing cyan glass blocks are surrounded by orbiting golden needles that form a spherical lattice of glowing white threads.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To bind the cocoon weaver to a player instead of a fixed point, summon an armor stand or target a player with a tag like c9_caster and prepend /execute at @a[tag=c9_caster] run ... to the needle teleport commands so the entire spindle follows the player as a protective magical barrier.
/kill @e[tag=c9_all]/scoreboard objectives remove c9_tMinecraft clamps entity pitch between -90 and +90 degrees. By reversing the pitch direction every 25 ticks using the scoreboard timer, the needles bounce smoothly between the upper and lower hemispheres in a figure-eight pattern.
Each needle item_display is summoned at the exact center of the amethyst core, but its transformation matrix has a translation of 2.9 blocks along the local Z axis. Rotating the entity in place swings the displayed model around a 2.9-block sphere.
▶Gilded Scales of Judgment RitualHoly & Light MagicMedium24 cmds
▶Shattering Stained-Glass Cathedral DomeHoly & Light MagicExpert20 cmds
▶Arcane Matryoshka Doll UnsealingHoly & Light MagicMedium24 cmds
▶Arcane Prism Dispersion LighthouseHoly & Light MagicHard24 cmds
▶Astral Lighthouse Fresnel Lens SweepHoly & Light MagicHard24 cmds
▶Celestial Harp of Laser StringsHoly & Light MagicHard24 cmds