Spark-Firing Clockwork Critters

Copper wind-up creatures waddle around a glowing arcane core before halting to charge and fire crackling electric beams in vanilla Minecraft.

Java EditionMobs & PetsMedium24 commandsTested on a real 26.2 & 26.3 server
Four glowing copper critters with wind-up keys shoot cyan spark beams toward a central floating conduit. Download the GIF Video & GIF © www.9minecraft.net

Custom MobsTechnologyLightningIndustrialOrangeCyanAdventure MapDecorationBoss FightParticlesBlock displaysArmor standsScoreboard timersExecute chainsRiding & passengersSummoned mobsSoundsGlowing outlinesRotation math21+ commands

Watch a quartet of copper-plated clockwork critters waddle in formation around a floating lightning conduit. Powered by block displays and invisible husk bases, these mechanical mobs rock side-to-side as their brass wind-up keys spin on their backs.

Every few seconds, the critters halt in their tracks, lock onto the central conduit, and charge up high-voltage coils before firing crackling cyan laser beams across the arena.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_timer dummy
  2. /summon armor_stand ~ ~1.8 ~ {Tags:["c9_core"],Invisible:1b,NoGravity:1b,Marker:1b,Passengers:[{id:"minecraft:block_display",Tags:["c9_disp"],Glowing:1b,glow_color_override:65535,block_state:{Name:"minecraft:conduit"},transformation:{translation:[-0.5f,-0.5f,-0.5f],left_rotation:[0f,0f,0f,1f],scale:[1.0f,1.0f,1.0f],right_rotation:[0f,0f,0f,1f]}},{id:"minecraft:block_display",Tags:["c9_disp"],Glowing:1b,glow_color_override:16755200,block_state:{Name:"minecraft:Tinted_glass"},transformation:{translation:[-0.7f,-0.7f,-0.7f],left_rotation:[0f,0f,0f,1f],scale:[1.4f,1.4f,1.4f],right_rotation:[0f,0f,0f,1f]}}]}
  3. /summon husk ~-5 ~ ~-5 {Tags:["c9_critter"],Silent:1b,NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,IsBaby:1b,Rotation:[-45f,0f],active_effects:[{id:"minecraft:invisibility",amplifier:0,duration:999999,show_particles:0b}]}
  4. /summon husk ~5 ~ ~-5 {Tags:["c9_critter"],Silent:1b,NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,IsBaby:1b,Rotation:[45f,0f],active_effects:[{id:"minecraft:invisibility",amplifier:0,duration:999999,show_particles:0b}]}
  5. /summon husk ~5 ~ ~5 {Tags:["c9_critter"],Silent:1b,NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,IsBaby:1b,Rotation:[135f,0f],active_effects:[{id:"minecraft:invisibility",amplifier:0,duration:999999,show_particles:0b}]}
  6. /summon husk ~-5 ~ ~5 {Tags:["c9_critter"],Silent:1b,NoAI:1b,Invulnerable:1b,PersistenceRequired:1b,IsBaby:1b,Rotation:[-135f,0f],active_effects:[{id:"minecraft:invisibility",amplifier:0,duration:999999,show_particles:0b}]}
  7. /execute as @e[tag=c9_critter] at @s run summon block_display ~ ~ ~ {Tags:["c9_disp","c9_body"],Glowing:1b,glow_color_override:16744192,block_state:{Name:"minecraft:copper_bulb",Properties:{lit:"true"}},transformation:{translation:[-0.45f,0.1f,-0.45f],left_rotation:[0f,0f,0f,1f],scale:[0.9f,0.8f,0.9f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute as @e[tag=c9_critter] at @s run summon block_display ~ ~ ~ {Tags:["c9_disp","c9_key"],Glowing:1b,glow_color_override:16776960,block_state:{Name:"minecraft:lightning_rod",Properties:{facing:"up"}},transformation:{translation:[-0.25f,0.85f,-0.25f],left_rotation:[0f,0f,0f,1f],scale:[0.5f,0.7f,0.5f],right_rotation:[0f,0f,0f,1f]}}
  9. /execute as @e[tag=c9_critter] at @s run ride @n[tag=c9_body,distance=..1] mount @s
  10. /execute as @e[tag=c9_critter] at @s run ride @n[tag=c9_key,distance=..1] mount @s

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

  1. /scoreboard players add @e[tag=c9_critter] c9_timer 1
  2. /scoreboard players reset @e[tag=c9_critter,scores={c9_timer=120..}] c9_timer
  3. /execute as @e[tag=c9_core] at @s run tp @s ~ ~ ~ ~4 ~
  4. /execute at @e[tag=c9_core] run particle electric_spark ~ ~ ~ 0.4 0.4 0.4 0.05 3
  5. /execute as @e[tag=c9_critter,scores={c9_timer=1..70}] at @s run tp @s ^ ^ ^0.13 ~2.5 ~
  6. /execute as @e[tag=c9_critter,scores={c9_timer=1..70}] at @s if score @s c9_timer matches 1..35 run data modify entity @n[tag=c9_key,distance=..2] transformation.left_rotation set value [0f,0.707f,0f,0.707f]
  7. /execute as @e[tag=c9_critter,scores={c9_timer=1..70}] at @s if score @s c9_timer matches 36..70 run data modify entity @n[tag=c9_key,distance=..2] transformation.left_rotation set value [0f,0f,0f,1f]
  8. /execute at @e[tag=c9_critter,scores={c9_timer=1..70}] run particle smoke ~ ~0.2 ~ 0.2 0.1 0.2 0.01 1
  9. /execute as @e[tag=c9_critter,scores={c9_timer=71..95}] at @s facing entity @e[tag=c9_core,limit=1] feet run tp @s ~ ~ ~ ~ ~
  10. /execute at @e[tag=c9_critter,scores={c9_timer=71..95}] run particle dust{color:[1.0,0.8,0.1],scale:1.4} ~ ~1.1 ~ 0.25 0.25 0.25 0 4
  11. /execute at @e[tag=c9_critter,scores={c9_timer=75}] run playsound minecraft:block.beacon.ambient master @a ~ ~ ~ 0.6 1.8
  12. /execute at @e[tag=c9_critter,scores={c9_timer=96..115}] facing entity @e[tag=c9_core,limit=1] eyes positioned ^ ^0.5 ^0.6 run particle dust{color:[0.1,0.9,1.0],scale:1.5} ^ ^ ^ 0.05 0.05 0.05 0 2
  13. /execute at @e[tag=c9_critter,scores={c9_timer=96..115}] facing entity @e[tag=c9_core,limit=1] eyes positioned ^ ^0.5 ^1.8 run particle electric_spark ^ ^ ^ 0.1 0.1 0.1 0.05 6
  14. /execute at @e[tag=c9_critter,scores={c9_timer=96..115}] facing entity @e[tag=c9_core,limit=1] eyes positioned ^ ^0.5 ^3.2 run particle soul_fire_flame ^ ^ ^ 0.15 0.15 0.15 0.02 4

How it works

Frames from the test run

Spark-Firing Clockwork Critters - frame 1Spark-Firing Clockwork Critters - frame 2Spark-Firing Clockwork Critters - frame 3

Recorded on our own test server: 59 frames at about 9.8 fps. Our image check saw: Four glowing copper bulb critters with keys on top surround a central floating conduit, rocking back and forth and shooting cyan particle beams toward the center.

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 in the middle of a flat open area and run all 10 setup commands in chat one by one.
  2. Place a column or line of 14 repeating command blocks nearby and set all of them to Always Active.
  3. Paste one loop command into each of the 14 repeating command blocks.
  4. Watch the four copper critters waddle in a circle, wind up their keys, and fire electric beams at the floating conduit.
  5. When you are done, run the remove commands in chat to clean up the entities and scoreboard objective.

Use it with real players

To make the critters target and shock real players instead of the central core, replace @e[tag=c9_core,limit=1] in loop commands 9, 12, 13, and 14 with @p[distance=..15], and add a /damage @p[distance=..6] 2 minecraft:lightning_bolt command during ticks 96 to 115.

Remove it again 4 commands

  1. /kill @e[tag=c9_disp]
  2. /kill @e[tag=c9_critter]
  3. /kill @e[tag=c9_core]
  4. /scoreboard objectives remove c9_timer

FAQ

Why do the critters use invisible baby husks as their base?

Living mobs smoothly interpolate their movement and rotation across ticks when teleported, whereas armor stands and markers can look jittery without extra interpolation commands.

Can I spawn more than four clockwork critters?

Yes, summon additional invisible baby husks with the c9_critter tag and run the last four setup commands again to attach their copper bodies and lightning rod keys.

Commands used

/data/execute/particle/playsound/ride/scoreboard/summon/tp

Similar creations

Join 9Minecraft News & Guides