A colossal vintage gold sewing machine pumps its needle, pulling neon particle threads to stitch a glowing quilt that erupts into a sky-filling firework show.
Firework ShowsCelebrationSpaceMysticGoldPinkCyanDecorationServer LobbyCinematicBlock displaysItem displaysArmor standsFireworksSmooth animation (interpolation)SoundsRotation math21+ commands
This command creation builds an animated vintage gold and obsidian sewing machine right on your stage. As the handwheel spins and the glowing needle pumps up and down, two starlight shuttles weave back and forth across the table, pulling magenta, cyan, and golden threads of light behind them.
Every few seconds, the freshly stitched constellation quilt lifts into the night sky and detonates into a layered tapestry of star-shaped and burst fireworks before the machine begins sewing the next pattern.
/scoreboard objectives add c9_t dummy/scoreboard objectives add c9_phase dummy/summon marker ~ ~ ~ {Tags:["c9_sew","c9_ctrl"]}/summon block_display ~ ~ ~ {Tags:["c9_sew","c9_base"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},block_state:{Name:"minecraft:crying_obsidian"},transformation:{translation:[-6.0f,0.0f,-2.5f],scale:[12.0f,1.2f,5.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~ ~ ~ {Tags:["c9_sew","c9_pillar"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gold_block"},transformation:{translation:[3.2f,1.2f,-1.5f],scale:[2.4f,6.5f,3.0f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~ ~ ~ {Tags:["c9_sew","c9_arm"],Glowing:1b,glow_color_override:16755200,brightness:{sky:15,block:15},block_state:{Name:"minecraft:gold_block"},transformation:{translation:[-3.8f,5.8f,-1.4f],scale:[9.4f,2.2f,2.8f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~ ~ ~ {Tags:["c9_sew","c9_head"],Glowing:1b,glow_color_override:65535,brightness:{sky:15,block:15},block_state:{Name:"minecraft:chiseled_copper"},transformation:{translation:[-4.2f,4.2f,-1.2f],scale:[1.8f,3.8f,2.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon block_display ~-3.3 ~3.5 ~ {Tags:["c9_sew","c9_needle"],Glowing:1b,glow_color_override:16777215,brightness:{sky:15,block:15},interpolation_duration:2,block_state:{Name:"minecraft:end_rod"},transformation:{translation:[-0.2f,0.0f,-0.2f],scale:[0.4f,2.8f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon item_display ~5.8 ~6.8 ~ {Tags:["c9_sew","c9_wheel"],Glowing:1b,glow_color_override:16766720,brightness:{sky:15,block:15},item:{id:"minecraft:clock",count:1},transformation:{translation:[0.0f,0.0f,0.0f],scale:[3.2f,3.2f,1.0f],left_rotation:[0.0f,0.7071f,0.0f,0.7071f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/summon armor_stand ~-3.3 ~1.4 ~ {Tags:["c9_sew","c9_weaver1"],Invisible:1b,NoGravity:1b,Marker:1b}/scoreboard players add @e[tag=c9_ctrl] c9_t 1/execute as @e[tag=c9_ctrl,scores={c9_t=100..}] run scoreboard players set @s c9_t 0/execute as @e[tag=c9_ctrl] store result score @s c9_phase run scoreboard players get @s c9_t/scoreboard players operation @e[tag=c9_ctrl] c9_phase %= #c9_four c9_t/scoreboard players set #c9_four c9_t 4/execute if entity @e[tag=c9_ctrl,scores={c9_phase=0..1}] as @e[tag=c9_needle] run data merge entity @s {start_interpolation:0,transformation:{translation:[-0.2f,-1.9f,-0.2f],scale:[0.4f,2.8f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute if entity @e[tag=c9_ctrl,scores={c9_phase=2..3}] as @e[tag=c9_needle] run data merge entity @s {start_interpolation:0,transformation:{translation:[-0.2f,0.2f,-0.2f],scale:[0.4f,2.8f,0.4f],left_rotation:[0.0f,0.0f,0.0f,1.0f],right_rotation:[0.0f,0.0f,0.0f,1.0f]}}/execute as @e[tag=c9_wheel] at @s run tp @s ~ ~ ~ ~ ~25/execute if entity @e[tag=c9_ctrl,scores={c9_phase=1}] at @e[tag=c9_ctrl] run particle flash{color:[1.0,0.95,0.6,1.0]} ~-3.3 ~1.4 ~ 0.1 0.1 0.1 0 1 force/execute if entity @e[tag=c9_ctrl,scores={c9_phase=1}] at @e[tag=c9_ctrl] run playsound minecraft:block.amethyst_block.chime master @a ~-3.3 ~2 ~ 0.7 1.8/execute as @e[tag=c9_weaver1] at @s run tp @s ~ ~ ~ ~19 ~/execute at @e[tag=c9_ctrl] rotated as @e[tag=c9_weaver1] positioned ~-3.3 ~1.5 ~ run particle dust_color_transition{from_color:[1.0,0.2,0.9],to_color:[0.2,0.9,1.0],scale:1.6} ^ ^ ^3.5 1.8 0.2 1.8 0 14 force/execute at @e[tag=c9_ctrl] run particle end_rod ~2.5 ~7.8 ~ 2.8 0.3 0.3 0.02 4 force/execute if entity @e[tag=c9_ctrl,scores={c9_t=25}] at @e[tag=c9_ctrl] run summon firework_rocket ~-6 ~3 ~-4 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"star",has_twinkle:1b,has_trail:1b,colors:[I;16766720,65535],fade_colors:[I;16711935]}]}}}}/execute if entity @e[tag=c9_ctrl,scores={c9_t=50}] at @e[tag=c9_ctrl] run summon firework_rocket ~-6 ~3 ~4 {LifeTime:18,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:1,explosions:[{shape:"star",has_twinkle:1b,has_trail:1b,colors:[I;16711935,16777215],fade_colors:[I;65535]}]}}}}/execute if entity @e[tag=c9_ctrl,scores={c9_t=85}] at @e[tag=c9_ctrl] run summon firework_rocket ~-3.3 ~3 ~ {LifeTime:22,FireworksItem:{id:"minecraft:firework_rocket",count:1,components:{"minecraft:fireworks":{flight_duration:2,explosions:[{shape:"large_ball",has_twinkle:1b,has_trail:1b,colors:[I;16766720,16711935,65535],fade_colors:[I;16777215]},{shape:"star",has_twinkle:1b,colors:[I;16777215]}]}}}}setup #4 Summons the crying obsidian bed of the sewing machine using a scaled <code>block_display</code> with a golden glow outline.setup #8 Creates the sewing needle out of a scaled <code>end_rod</code> block display with a 2-tick interpolation duration so its rapid vertical strokes look smooth.loop #6 Uses modulo math (<code>c9_phase</code> cycling 0 to 3) to drive the needle down every 4 ticks and back up 2 ticks later, mimicking a real sewing machine mechanism.loop #12 Projects neon magenta-to-cyan transition particles around the needle base using local coordinates (<code>^ ^ ^3.5</code>) rotated by the invisible weaver stand to form the glowing constellation quilt.loop #16 Launches the grand finale firework tapestry on tick 85 of the 100-tick sewing cycle using the <code>minecraft:fireworks</code> item component.


Recorded on our own test server: 59 frames at about 9.7 fps. Our image check saw: A large glowing gold and crying obsidian sewing machine with a needle, glowing thread, and colorful firework particle bursts above it.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To let a player control the sewing machine manually, remove the first two timer loop commands and instead power the needle and firework commands only while a player holds a golden carrot or clock: prefix the loop commands with /execute if entity @a[distance=..15,nbt={SelectedItem:{id:"minecraft:clock"}}] so the machine stitches constellations whenever you wind the clock in your hand.
/kill @e[tag=c9_sew]/scoreboard objectives remove c9_t/scoreboard objectives remove c9_phaseCheck that your Video Settings have Particles set to All, and make sure you are running Minecraft Java Edition 26.2 or newer because both the flash particle and the firework_rocket item components use modern syntax.
Run the three Remove commands in chat. Every display entity and marker has the c9_sew tag, so a single filtered /kill command removes the whole machine cleanly.
▶Prismatic Feather Quill Starlight CalligraphyFirework ShowsHard24 cmds
▶Chromatic Foucault Pendulum Star-Map Floor CarverFirework ShowsMedium23 cmds
▶Chrono Rewind Time-Freeze Firework ShowFirework ShowsExpert24 cmds
▶Supernova Implosion Light SpectacleFirework ShowsExpert19 cmds
▶Steampunk Orrery Comet Impact Shockwave ShowFirework ShowsHard24 cmds
▶Unfolding Fabergé Egg Starlight TreasuryFirework ShowsExpert24 cmds