Build an automated wooden chopping rig with smooth block display interpolation that cranks an angled iron blade to the top before dropping it with a heavy slam.
Machines & MechanismsIndustrialMedievalDarkWhiteGreenOrangeDecorationMap MakingMini-gameBlock displaysArmor standsSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands
This command creation builds an automated heavy chopping trap in the middle of your world. Using a wooden timber frame and a chain hoist, a gleaming angled iron blade is slowly cranked to the top of the tower, showering mechanical sparks as the gears turn.
Once the latch releases at the top, the blade drops in a split second using block display transformation interpolation. It slams into the base block with an anvil crash, scattering wood splinters and slicing right through any targets standing underneath.
/scoreboard objectives add c9_timer dummy/scoreboard players set #clock c9_timer 0/fill ~-3 ~ ~-2 ~3 ~ ~2 stone_bricks/setblock ~ ~ ~ stripped_dark_oak_wood/fill ~-2 ~1 ~ ~-2 ~8 ~ spruce_fence/fill ~2 ~1 ~ ~2 ~8 ~ spruce_fence/fill ~-2 ~9 ~ ~2 ~9 ~ dark_oak_log[axis=x]/fill ~-1 ~1 ~ ~-1 ~8 ~ iron_bars/fill ~1 ~1 ~ ~1 ~8 ~ iron_bars/summon block_display ~ ~1.2 ~ {Tags:["c9_all","c9_blade"],Glowing:1b,glow_color_override:15658734,teleport_duration:2,interpolation_duration:1,block_state:{Name:"minecraft:iron_block"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,-0.195f,0.981f],scale:[2.4f,1.3f,0.18f],translation:[-1.2f,0f,-0.09f]}}/scoreboard players add #clock c9_timer 1/execute if score #clock c9_timer matches 100.. run scoreboard players set #clock c9_timer 0/execute if score #clock c9_timer matches 1 unless entity @e[tag=c9_chain] run summon block_display ~ ~8.8 ~ {Tags:["c9_all","c9_chain"],interpolation_duration:1,block_state:{Name:"minecraft:chain"},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.3f,7.5f,0.3f],translation:[-0.15f,-7.5f,-0.15f]}}/execute if score #clock c9_timer matches 5 unless entity @e[tag=c9_target] run summon armor_stand ~ ~1 ~ {Tags:["c9_all","c9_target"],NoGravity:1b,CustomName:'{"text":"Test Melon","color":"green"}',CustomNameVisible:1b,equipment:{head:{id:"minecraft:melon",count:1},chest:{id:"minecraft:leather_chestplate",count:1}}}/execute if score #clock c9_timer matches 10 run data merge entity @e[tag=c9_blade,limit=1] {start_interpolation:0,interpolation_duration:45,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,-0.195f,0.981f],scale:[2.4f,1.3f,0.18f],translation:[-1.2f,5.8f,-0.09f]}}/execute if score #clock c9_timer matches 10 run data merge entity @e[tag=c9_chain,limit=1] {start_interpolation:0,interpolation_duration:45,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.3f,1.7f,0.3f],translation:[-0.15f,-1.7f,-0.15f]}}/execute if score #clock c9_timer matches 10..55 run particle crit ~ ~9 ~ 0.6 0.2 0.2 0.05 2 force/execute if score #clock c9_timer matches 15 run playsound block.grindstone.use master @a ~ ~9 ~ 0.7 0.6/execute if score #clock c9_timer matches 35 run playsound block.grindstone.use master @a ~ ~9 ~ 0.7 0.8/execute if score #clock c9_timer matches 56 run playsound block.iron_trapdoor.open master @a ~ ~9 ~ 1.5 0.7/execute if score #clock c9_timer matches 68 run data merge entity @e[tag=c9_blade,limit=1] {start_interpolation:0,interpolation_duration:3,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,-0.195f,0.981f],scale:[2.4f,1.3f,0.18f],translation:[-1.2f,0.0f,-0.09f]}}/execute if score #clock c9_timer matches 68 run data merge entity @e[tag=c9_chain,limit=1] {start_interpolation:0,interpolation_duration:3,transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.3f,7.5f,0.3f],translation:[-0.15f,-7.5f,-0.15f]}}/execute if score #clock c9_timer matches 71 run playsound block.anvil.land master @a ~ ~1 ~ 1.2 0.8/execute if score #clock c9_timer matches 71 run particle block{block_state:{Name:"minecraft:melon"}} ~ ~1.5 ~ 0.5 0.5 0.5 0.15 60 force/execute if score #clock c9_timer matches 71 run particle sweep_attack ~ ~1.4 ~ 0.6 0.1 0.1 0 3 force/execute if score #clock c9_timer matches 71 run kill @e[tag=c9_target]setup #10 Summons the main iron blade using a <code>block_display</code> entity. The <code>scale</code> flattens it into a thin sheet, while <code>right_rotation</code> tilts the bottom edge into a diagonal cutting angle.loop #5 At tick 10, <code>/data merge</code> sets <code>interpolation_duration:45</code> and shifts the blade's Y translation up by 5.8 blocks, creating a smooth 2.25-second upward crank animation.loop #6 Simultaneously shrinks the vertical scale of the hoist chain block display from 7.5 down to 1.7 so the chain appears to wind up into the top wooden beam.loop #11 At tick 68, the release triggers by setting <code>interpolation_duration:3</code> and returning Y translation to 0.0, making the blade plummet in just 0.15 seconds.


Recorded on our own test server: 50 frames at about 9.8 fps. Our image check saw: A wooden guillotine structure with chains raises an angled iron blade over an armor stand holding a melon block with unformatted JSON text, before dropping down and smashing the melon into green particles.
Commands, video and screenshots: tested and recorded by www.9minecraft.net © 9Minecraft. Sharing a video or screenshot? Please credit www.9minecraft.net.
To make the falling blade hurt real players or survival mobs instead of the demo armor stand, remove loop command 4 (which summons the test stand) and replace loop command 16 with /execute if score #clock c9_timer matches 71 run damage @a[distance=..1.8] 16 minecraft:falling_anvil (or use a loop targeting @e[distance=..1.8,tag=!c9_all]).
/kill @e[tag=c9_all]/fill ~-3 ~ ~-2 ~3 ~9 ~2 air/scoreboard objectives remove c9_timerBlock display interpolation is rendered smoothly by the game client at your full frame rate, whereas teleporting an entity only updates 20 times per second and looks jittery during fast drops.
The iron block display uses a quaternion in right_rotation ([0f, 0f, -0.195f, 0.981f]) which rotates the flattened rectangle by about 22.5 degrees on the Z axis.
/data/execute/fill/kill/particle/playsound/scoreboard/setblock/summon
▶Gothic Clocktower TransformationMachines & MechanismsHard24 cmds
▶Gothic Cathedral Organ Pipe SymphonyMachines & MechanismsHard22 cmds
▶Self-Folding Damask Steel Katana ForgeMachines & MechanismsHard24 cmds
▶Animated Guillotine with Block DisplaysMachines & MechanismsMedium24 cmds
▶Automated Guillotine ExecutionMachines & MechanismsMedium26 cmds
▶Autonomous Glassblowing Kiln WorkshopMachines & MechanismsHard24 cmds