Build an industrial Kinetic Crank Dynamo with smoothly spinning block displays, a turning copper crank, glowing rotor core, and electric sparks.
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.
/scoreboard objectives add c9_t dummy/fill ~-3 ~-1 ~-2 ~3 ~-1 ~2 polished_deepslate/fill ~-2 ~0 ~-1 ~2 ~0 ~1 deepslate_bricks/fill ~-1 ~1 ~-1 ~1 ~3 ~1 copper_grate hollow/fill ~-2 ~1 ~0 ~-2 ~3 ~0 lightning_rod/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}/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}/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}/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}/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}/scoreboard players add @e[tag=c9_core] c9_t 1/execute as @e[tag=c9_core,scores={c9_t=20..}] run scoreboard players set @s c9_t 0/execute as @e[tag=c9_rot_y] at @s run tp @s ~ ~ ~ ~15 ~/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}/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}/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}/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}/particle electric_spark ~ ~2.5 ~ 0.9 0.7 0.9 0.15 4 normal/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/particle dust{color:[1.0,0.75,0.15],scale:1.0} ~ ~4.3 ~ 0.8 0.15 0.8 0.02 3 normal/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/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/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/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.3setup #6 Summons the central sea lantern core as a block display with full brightness and a 1-tick teleport_duration so its horizontal spin stays smooth.setup #10 Creates the vertical copper crank arm anchored near its pivot and sets interpolation_duration to 5 ticks for seamless quarter-turn transitions.loop #3 Rotates the core and both top turbine blades by 15 degrees every tick around the vertical axis using their teleport interpolation.loop #5 At tick 5 of the 20-tick cycle, updates the axle and crank arm quaternion to 90 degrees around the X-axis and triggers start_interpolation.loop #9 Spawns cyan dust particles above the stacked lightning rods to give the side pylon a continuous electric glow.


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.
/kill @e[tag=c9_rot_y]/kill @e[tag=c9_crank]/scoreboard objectives remove c9_t/fill ~-3 ~-1 ~-2 ~3 ~-1 ~2 grass_block/fill ~-2 ~0 ~-1 ~2 ~3 ~1 airEntity 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.
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.
▶Steampunk Astrolabe GyroscopeMachines & MechanismsMedium24 cmds
▶Steampunk Printing Press Newspaper RollMachines & MechanismsHard24 cmds
▶Holographic Magnetic Tokamak Fusion ConfinementMachines & MechanismsExpert26 cmds
▶Kinematic Radial Aircraft Engine IgnitionMachines & MechanismsExpert24 cmds
▶Kinematic V8 Engine Piston CutawayMachines & MechanismsExpert24 cmds
▶Kinetic Moiré Pattern Interference SculptureMachines & MechanismsMedium23 cmds