Kinetic Crank Dynamo

Build an industrial Kinetic Crank Dynamo with smoothly spinning block displays, a turning copper crank, glowing rotor core, and electric sparks.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
A glowing copper grate dynamo with rotating blades, a turning crank, and crackling electric sparks at night. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsIndustrialTechnologyLightningCyanOrangeWhiteDecorationMap MakingServer LobbyBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)SoundsRotation math21+ commands

This command creation builds a compact Kinetic Crank Dynamo out of copper grates, deepslate, and lightning rods, brought to life with smoothly animated block_display entities. A glowing sea lantern core spins inside the housing while a twin-bladed copper turbine turns overhead and an external crank arm sweeps in continuous 360-degree circles.

As the mechanism turns, electric sparks crackle around the core, golden kinetic dust swirls off the top turbine, and cyan plasma discharges from the side lightning rod every half-turn.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_t dummy
  2. /fill ~-3 ~-1 ~-2 ~3 ~-1 ~2 polished_deepslate
  3. /fill ~-2 ~0 ~-1 ~2 ~0 ~1 deepslate_bricks
  4. /fill ~-1 ~1 ~-1 ~1 ~3 ~1 copper_grate hollow
  5. /fill ~-2 ~1 ~0 ~-2 ~3 ~0 lightning_rod
  6. /summon block_display ~ ~2.5 ~ {Tags:["c9_core","c9_rot_y"],block_state:{Name:"minecraft:sea_lantern"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.45f,-0.45f,-0.45f],scale:[0.9f,0.9f,0.9f]},brightness:{sky:15,block:15},teleport_duration:1}
  7. /summon block_display ~ ~4.25 ~ {Tags:["c9_rot_y"],block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.2f,-0.11f,-0.18f],scale:[2.4f,0.22f,0.36f]},teleport_duration:1}
  8. /summon block_display ~ ~4.25 ~ {Tags:["c9_rot_y"],block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.18f,-0.14f,-1.2f],scale:[0.36f,0.28f,2.4f]},teleport_duration:1}
  9. /summon block_display ~1.3 ~2.5 ~ {Tags:["c9_crank"],block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-1.1f,-0.16f,-0.16f],scale:[2.2f,0.32f,0.32f]},interpolation_duration:5}
  10. /summon block_display ~2.2 ~2.5 ~ {Tags:["c9_crank"],block_state:{Name:"minecraft:waxed_copper_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[-0.12f,-0.14f,-0.14f],scale:[0.24f,1.3f,0.28f]},interpolation_duration:5}

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

  1. /scoreboard players add @e[tag=c9_core] c9_t 1
  2. /execute as @e[tag=c9_core,scores={c9_t=20..}] run scoreboard players set @s c9_t 0
  3. /execute as @e[tag=c9_rot_y] at @s run tp @s ~ ~ ~ ~15 ~
  4. /execute if entity @e[tag=c9_core,scores={c9_t=0}] as @e[tag=c9_crank] run data merge entity @s {transformation:{left_rotation:[0f,0f,0f,1f]},start_interpolation:0}
  5. /execute if entity @e[tag=c9_core,scores={c9_t=5}] as @e[tag=c9_crank] run data merge entity @s {transformation:{left_rotation:[0.7071068f,0f,0f,0.7071068f]},start_interpolation:0}
  6. /execute if entity @e[tag=c9_core,scores={c9_t=10}] as @e[tag=c9_crank] run data merge entity @s {transformation:{left_rotation:[1f,0f,0f,0f]},start_interpolation:0}
  7. /execute if entity @e[tag=c9_core,scores={c9_t=15}] as @e[tag=c9_crank] run data merge entity @s {transformation:{left_rotation:[0.7071068f,0f,0f,-0.7071068f]},start_interpolation:0}
  8. /particle electric_spark ~ ~2.5 ~ 0.9 0.7 0.9 0.15 4 normal
  9. /particle dust{color:[0.2,0.9,1.0],scale:1.2} ~-2 ~4.1 ~ 0.15 0.35 0.15 0.02 3 normal
  10. /particle dust{color:[1.0,0.75,0.15],scale:1.0} ~ ~4.3 ~ 0.8 0.15 0.8 0.02 3 normal
  11. /execute if entity @e[tag=c9_core,scores={c9_t=0}] run particle electric_spark ~-2 ~4.2 ~ 0.3 0.4 0.3 0.25 18 normal
  12. /execute if entity @e[tag=c9_core,scores={c9_t=10}] run particle electric_spark ~2.2 ~2.5 ~ 0.3 0.5 0.3 0.2 14 normal
  13. /execute if entity @e[tag=c9_core,scores={c9_t=0}] run playsound minecraft:block.beacon.ambient master @a ~ ~2.5 ~ 0.6 1.5
  14. /execute if entity @e[tag=c9_core,scores={c9_t=10}] run playsound minecraft:block.copper_bulb.turn_on master @a ~ ~2.5 ~ 0.7 1.3

How it works

Frames from the test run

Kinetic Crank Dynamo - frame 1Kinetic Crank Dynamo - frame 2Kinetic Crank Dynamo - frame 3

Recorded on our own test server: 50 frames at about 9.9 fps. Our image check saw: A compact copper grate and deepslate dynamo sits at night with a glowing spinning sea lantern core, an overhead rotating blade, a turning side crank, and electric spark particles.

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. Clear a flat 7x5 area and stand at the center block where you want the dynamo built.
  2. Run each of the 10 setup commands in order from chat (or a line of impulse command blocks) at that exact center position.
  3. Place 14 repeating, always-active command blocks nearby and paste one loop command into each block.
  4. If your repeating command blocks are not centered on the dynamo, wrap each loop command with execute positioned <x> <y> <z> run before the command.
  5. Use the remove commands whenever you want to delete the displays, scoreboard objective, and blocks.

Remove it again 5 commands

  1. /kill @e[tag=c9_rot_y]
  2. /kill @e[tag=c9_crank]
  3. /scoreboard objectives remove c9_t
  4. /fill ~-3 ~-1 ~-2 ~3 ~-1 ~2 grass_block
  5. /fill ~-2 ~0 ~-1 ~2 ~3 ~1 air

FAQ

Why does the crank arm use four quaternion steps instead of tp rotation?

Entity yaw only spins horizontally, and pitch clamps at plus or minus 90 degrees, so merging four 90-degree left_rotation quaternions with 5-tick interpolation produces a full vertical 360-degree spin.

Can I change the speed of the dynamo?

Yes. Increase or decrease the ~15 yaw step in the c9_rot_y teleport command, and adjust the c9_t thresholds and interpolation_duration together to make the crank spin faster or slower.

Commands used

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

Similar creations

Join 9Minecraft News & Guides