Automated Guillotine Trap

Build a working guillotine trap in vanilla Minecraft using smooth block displays, scoreboard timers, and dramatic blood particle bursts with no mods.

Java EditionHolograms & Display EntitiesMedium24 commandsTested on a real 26.2 & 26.3 server
An automated Minecraft guillotine drops an angled iron blade onto a pumpkin-headed dummy with red particles. Download the GIF Video & GIF © www.9minecraft.net

Machines & MechanismsMedievalHorrorRedOrangeWhiteDecorationAdventure MapMap MakingBlock displaysSmooth animation (interpolation)Block building (fill/setblock/clone)Sounds21+ commands

This command creation builds an automated executioner's scaffold complete with dark oak pillars, a heavy angled iron blade, and a custom target dummy waiting on the chopping block. Every five seconds, the mechanical latch releases and the blade drops swiftly down the wooden tracks, slicing the dummy cleanly in two while its head tumbles into the basket below in a burst of crimson particles.

By combining interpolated block_display entities with a single scoreboard clock, the entire contraption moves smoothly without clunky pistons or redstone circuits, then winches itself back up to repeat the cycle automatically.

1. Setup - type these once 10 commands

  1. /scoreboard objectives add c9_gtimer dummy
  2. /scoreboard players set #clock c9_gtimer 0
  3. /fill ~-3 ~ ~-3 ~3 ~ ~3 polished_deepslate
  4. /fill ~-3 ~ ~-3 ~3 ~ ~-3 polished_deepslate_slab
  5. /fill ~-2 ~1 ~ ~-2 ~8 ~ dark_oak_log
  6. /fill ~2 ~1 ~ ~2 ~8 ~ dark_oak_log
  7. /fill ~-2 ~8 ~ ~2 ~8 ~ dark_oak_planks
  8. /setblock ~ ~1 ~1 oak_stairs[facing=north]
  9. /setblock ~ ~1 ~-1 composter[level=4]
  10. /summon marker ~ ~ ~ {Tags:["c9_gctrl","c9_g"]}

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

  1. /scoreboard players add #clock c9_gtimer 1
  2. /execute if score #clock c9_gtimer matches 100.. run scoreboard players set #clock c9_gtimer 1
  3. /execute if score #clock c9_gtimer matches 1 unless entity @e[tag=c9_gblade] run summon block_display ~ ~7.2 ~ {Tags:["c9_gblade","c9_g"],teleport_duration:3,interpolation_duration:3,block_state:{Name:"minecraft:iron_block"},transformation:{translation:[-1.5f,-0.5f,-0.075f],left_rotation:[0f,0f,0f,1f],scale:[3.0f,1.4f,0.15f],right_rotation:[0f,0f,-0.1305f,0.9914f]}}
  4. /execute if score #clock c9_gtimer matches 1 unless entity @e[tag=c9_grope] run summon block_display ~ ~7.5 ~ {Tags:["c9_grope","c9_g"],teleport_duration:3,interpolation_duration:3,block_state:{Name:"minecraft:chain"},transformation:{translation:[-0.1f,0.0f,-0.1f],left_rotation:[0f,0f,0f,1f],scale:[0.2f,0.6f,0.2f],right_rotation:[0f,0f,0f,1f]}}
  5. /execute if score #clock c9_gtimer matches 1 run kill @e[tag=c9_gdummy]
  6. /execute if score #clock c9_gtimer matches 2 run summon block_display ~-0.35 ~1.0 ~0.3 {Tags:["c9_gdummy","c9_gbody","c9_g"],block_state:{Name:"minecraft:hay_block"},transformation:{translation:[0f,0f,0f],left_rotation:[0.5f,0f,0f,0.866f],scale:[0.7f,1.2f,0.5f],right_rotation:[0f,0f,0f,1f]}}
  7. /execute if score #clock c9_gtimer matches 2 run summon block_display ~-0.25 ~1.8 ~-0.25 {Tags:["c9_gdummy","c9_ghead","c9_g"],teleport_duration:4,block_state:{Name:"minecraft:carved_pumpkin",Properties:{facing:"north"}},transformation:{translation:[0f,0f,0f],left_rotation:[0.382f,0f,0f,0.923f],scale:[0.5f,0.5f,0.5f],right_rotation:[0f,0f,0f,1f]}}
  8. /execute if score #clock c9_gtimer matches 25 run playsound minecraft:block.iron_trapdoor.open master @a ~ ~7 ~ 1.5 0.6
  9. /execute if score #clock c9_gtimer matches 30 run tp @e[tag=c9_gblade] ~ ~2.1 ~
  10. /execute if score #clock c9_gtimer matches 30 run data merge entity @e[tag=c9_grope,limit=1] {start_interpolation:0,interpolation_duration:3,transformation:{translation:[-0.1f,-5.1f,-0.1f],left_rotation:[0f,0f,0f,1f],scale:[0.2f,5.7f,0.2f],right_rotation:[0f,0f,0f,1f]}}
  11. /execute if score #clock c9_gtimer matches 33 run tp @e[tag=c9_ghead] ~-0.25 ~1.35 ~-1.2 25 65
  12. /execute if score #clock c9_gtimer matches 33 run particle block{block_state:{Name:"minecraft:redstone_block"}} ~ ~2.0 ~-0.2 0.25 0.25 0.25 0.15 70 force
  13. /execute if score #clock c9_gtimer matches 33 run playsound minecraft:block.anvil.land master @a ~ ~2 ~ 0.8 1.5
  14. /execute if score #clock c9_gtimer matches 75 run data merge entity @e[tag=c9_gblade,limit=1] {teleport_duration:20}

How it works

Frames from the test run

Automated Guillotine Trap - frame 1Automated Guillotine Trap - frame 2Automated Guillotine Trap - frame 3

Recorded on our own test server: 60 frames at about 9.9 fps. Our image check saw: A wooden guillotine structure on a stone base with an angled iron blade dropping to chop a hay dummy with a pumpkin head, emitting red 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. Stand at the center of a flat clearing and run the 10 setup commands in chat to build the deepslate platform, wooden frame, and scoreboard timer.
  2. Place a Repeating Command Block set to Always Active nearby, and paste in the first loop command to start the 100-tick cycle.
  3. Chain 13 Chain Command Blocks (Always Active, Unconditional) onto the repeating block and paste the remaining loop commands in order.
  4. To make the blade winch back up smoothly at the end of the cycle, you can add one extra command on tick 76: <code>/execute if score #clock c9_gtimer matches 76 run tp @e[tag=c9_gblade] ~ ~7.2 ~</code> and reset its <code>teleport_duration</code> to 3 on tick 1.
  5. Step back and watch the trap drop, slice the dummy, and reset itself every 5 seconds.

Use it with real players

To turn this into a survival trap for real players, remove the dummy summon commands and replace the tick 30 trigger with proximity detection: /execute if entity @a[x=~,y=~1,z=~,distance=..1.2] run scoreboard players set #clock c9_gtimer 30, then deal damage on tick 33 with /damage @a[x=~,y=~1,z=~,distance=..1.5] 20 minecraft:generic.

Remove it again 3 commands

  1. /kill @e[tag=c9_g]
  2. /scoreboard objectives remove c9_gtimer
  3. /fill ~-3 ~ ~-3 ~3 ~8 ~3 air

FAQ

Why is the guillotine blade tilted at an angle without looking blocky?

Block displays support a 3D transformation matrix. By scaling an iron block thin on the Z axis and applying a quaternion rotation on the right_rotation array, the block skews into an angled blade.

Can I change how fast the blade drops?

Yes. Lower the blade's teleport_duration from 3 to 1 or 2 for an even faster drop, and adjust the impact commands from tick 33 to match.

Commands used

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

Similar creations

Join 9Minecraft News & Guides