For creative mode or worlds with cheats: stand on flat ground and enter commands in sequence — the trap will spawn several blocks away from you. These are the same blocks and commands as the test server.
On this page 12 sections
At a glance
String, chest, or block provides a signal — piston, TNT, or dispenser completes the rest
Traps are built from a sensor and what hits it. The sensor — String, pressure plate or trapped chests.: they emit signals when a victim is nearby. It attacks TNT, Piston, floor cleaner, or dispenser with arrows. During the check, TNT and arrows killed a victim with 20 health, and a pit trapped them under the floor.
| Trap | Triggers | Under review |
|---|---|---|
| TNT trap with stretch | touched the string | fell 3 blocks, the ceiling above closed over him |
| TNT under a block | stands on a slab | died after 92 ticks (4.6 seconds) |
| Trapped Chest | Opened a chest | A player without armor dies after 93 ticks (4.65 seconds) |
| Arrows from a wall | stands on a slab | died after 87 ticks (4.35 seconds) |
TNT traps without a victim and activates itself — for entering the base. Single-use TNT: explosion destroys the floor. Arrows hit while the victim is on the platform and wait for the next one.
- A corridor one block wide hits a wall. In front of the wall is a string between two with tripwire hooks, beneath the string — floor block at sticky piston, hidden beneath the wall.
- Pull string — the tripwire hook strongly powers the block it is attached to, and the torch on the opposite block goes out. The piston pulls the floor under the wall: after 3 ticks (0.15 s) the pit opens, after 9 ticks (0.45 s) the victim is already at the bottom.
- When the tripwire releases, the torch turns back on and the floor closes above the player, 16 ticks (0.8 s) after the fall. The pit is 3 blocks deep and sealed from above, preventing escape.
- The detector is a string, not a slab: the string hangs in the air on its own, while a slab would break if placed on a block that's not solid
- How in a desert temple: Stone pressing table on the block, below it — 9 checkers TNT A 3 × 3 square
- The slab provides substantial damage to the block below it, which then ignites TNT. The first explosion occurs after 81 ticks (4.05 seconds): TNT fuse.
- One checker piece is not enough. An explosion injures only if it 'sees' the target and the floor blocks the view: after the first explosion, the zombie has 19.1 health out of 20. The explosion breaks the floor and ignites the adjacent torches with short wicks — the second wave kills the zombie 92 ticks (4.6 seconds) after it stands on the block.
- One-time trap. How explosions break blocks and what drops — in Guide on explosions.
- Trapped Chest, while held open, strongly powers the block beneath it. Below this block is a TNT charge; the second is beneath the floor where the player opening it stands.
- Opened — first explosion after 80 ticks (4 seconds): the floor blocked the view, player had 19 health out of 20. Second fuse, without floor above it, killed the unarmed player after 93 ticks (4.65 seconds) once the chest was opened.
- Above the chest must be empty: a chest under a solid block cannot be opened.
- Outside, a trapped chest differs from a regular chest only by its reddish latch — place something valuable inside.
- Dispenser with arrows — in a niche on the side wall at head height, opposite side is a pressure plate.
- While someone is standing on the dispenser, it repeatedly fires. comparator after subtracting through two repeaters, it turns itself off — this Clock. When it falls off the platform — shooting stops.
- An arrow strikes across a corridor and pushes the victim against another wall — the victim remains on the platform. The zombie took 7 arrows out of 8 and died after 87 ticks (4.35 seconds).
- Niche — at head height, not at foot level: each hit throws a target, and an arrow at foot level passes beneath it. From the corridor's side, the arrow would knock a target off a block.
- Two dispensers won't help at once: after an attack, the game does not count damage over 10 ticks (0.5 seconds) higher than the previous. 64 arrows — for 64 shots.
- Each trap was placed on the server by 26.3 commands from this page.
- A zombie zombie: 20 health, like a player. Its speed is removed — it stands where placed, but falls and bounces off hits. A chest was opened by a player without armor in survival mode.
- We sent 3 test players into the pit one at a time. Each fell through, and the floor closed automatically after every fall.
- While no players are on the platform, the dispenser has not fired at all. The timer starts when the victim touches the string, stands on the platform, or opens the chest.
| Block | How many |
|---|---|
| 26 | |
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
The ground, stone, and walls around it — any that the schematic does not draw — can be chosen freely.
Commands to run in order: 20
/fill ~-4 ~-6 ~ ~5 ~ ~10 minecraft:stone/fill ~-4 ~1 ~ ~5 ~4 ~10 minecraft:air/setblock ~-2 ~1 ~6 minecraft:stone_bricks/fill ~-1 ~1 ~2 ~-1 ~2 ~5 minecraft:stone_bricks/fill ~-1 ~1 ~7 ~1 ~2 ~7 minecraft:stone_bricks/setblock ~-1 ~2 ~6 minecraft:stone_bricks/fill ~1 ~1 ~2 ~1 ~2 ~5 minecraft:stone_bricks/setblock ~1 ~2 ~6 minecraft:stone_bricks/setblock ~2 ~1 ~6 minecraft:stone_bricks/fill ~ ~-3 ~6 ~ ~ ~6 minecraft:air/setblock ~ ~-4 ~6 minecraft:stone/setblock ~ ~ ~7 minecraft:stone/setblock ~ ~ ~8 minecraft:sticky_piston[facing=north]/setblock ~1 ~ ~8 minecraft:redstone_wire/fill ~2 ~1 ~8 ~3 ~1 ~8 minecraft:redstone_wire/setblock ~3 ~1 ~7 minecraft:redstone_wire/setblock ~-1 ~1 ~6 minecraft:tripwire_hook[facing=east]/setblock ~1 ~1 ~6 minecraft:tripwire_hook[facing=west]/setblock ~ ~1 ~6 minecraft:tripwire/setblock ~3 ~1 ~6 minecraft:redstone_wall_torch[facing=east]
Download blueprint
The same block set file — place entirely using the Litematica mod, the WorldEdit plugin, or a structure block.
| Block | How many |
|---|---|
| 9 | |
| 1 | |
| 1 |
The ground, stone, and walls around it — any that the schematic does not draw — can be chosen freely.
For creative mode or worlds with cheats: stand on flat ground and enter commands in sequence — the trap will spawn several blocks away from you. These are the same blocks and commands as the test server.
Commands to run in order: 5
/fill ~-4 ~-4 ~-1 ~4 ~ ~7 minecraft:sandstone/fill ~-4 ~1 ~-1 ~4 ~4 ~7 minecraft:air/fill ~-1 ~-1 ~2 ~1 ~-1 ~4 minecraft:tnt/setblock ~ ~ ~3 minecraft:sandstone/setblock ~ ~1 ~3 minecraft:stone_pressure_plate
Download blueprint
The same block set file — place entirely using the Litematica mod, the WorldEdit plugin, or a structure block.
| Block | How many |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 |
The ground, stone, and walls around it — any that the schematic does not draw — can be chosen freely.
For creative mode or worlds with cheats: stand on flat ground and enter commands in sequence — the trap will spawn several blocks away from you. These are the same blocks and commands as the test server.
Commands to run in order: 6
/fill ~-3 ~-4 ~ ~3 ~ ~7 minecraft:stone/fill ~-3 ~1 ~ ~3 ~4 ~7 minecraft:air/fill ~-1 ~1 ~5 ~1 ~2 ~5 minecraft:stone_bricks/setblock ~ ~1 ~4 minecraft:trapped_chest[facing=north]/setblock ~ ~ ~4 minecraft:stone/fill ~ ~-1 ~3 ~ ~-1 ~4 minecraft:tnt
Download blueprint
The same block set file — place entirely using the Litematica mod, the WorldEdit plugin, or a structure block.
| Block | How many |
|---|---|
| 40 | |
| 11 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
The ground, stone, and walls around it — any that the schematic does not draw — can be chosen freely.
For creative mode or worlds with cheats: stand on flat ground and enter commands in sequence — the trap will spawn several blocks away from you. These are the same blocks and commands as the test server.
Commands to run in order: 25
/fill ~-4 ~-3 ~ ~6 ~ ~10 minecraft:stone/fill ~-4 ~1 ~ ~6 ~4 ~10 minecraft:air/fill ~-2 ~1 ~2 ~-2 ~2 ~8 minecraft:stone_bricks/fill ~ ~1 ~2 ~ ~1 ~8 minecraft:stone_bricks/fill ~ ~2 ~2 ~ ~2 ~4 minecraft:stone_bricks/fill ~ ~2 ~6 ~3 ~2 ~7 minecraft:stone_bricks/setblock ~ ~2 ~8 minecraft:stone_bricks/fill ~1 ~1 ~4 ~2 ~2 ~4 minecraft:stone_bricks/fill ~2 ~2 ~5 ~3 ~2 ~5 minecraft:stone_bricks/setblock ~3 ~2 ~4 minecraft:stone_bricks/setblock ~ ~2 ~5 minecraft:air/setblock ~3 ~ ~4 minecraft:air/setblock ~4 ~1 ~4 minecraft:air/setblock ~1 ~2 ~5 minecraft:dispenser[facing=west]{Items:[{Slot:0b,id:"minecraft:arrow",count:64}]}/setblock ~-1 ~1 ~5 minecraft:stone_pressure_plate/setblock ~-1 ~ ~5 minecraft:stone/setblock ~1 ~1 ~5 minecraft:stone/fill ~-1 ~-1 ~4 ~3 ~-1 ~4 minecraft:redstone_wire/setblock ~-1 ~-1 ~5 minecraft:redstone_wire/fill ~1 ~1 ~7 ~2 ~1 ~7 minecraft:redstone_wire/fill ~3 ~1 ~5 ~4 ~1 ~5 minecraft:redstone_wire/setblock ~4 ~ ~4 minecraft:redstone_wire/setblock ~2 ~1 ~5 minecraft:comparator[facing=east,mode=subtract]/setblock ~1 ~1 ~6 minecraft:repeater[facing=north,delay=1]/setblock ~2 ~1 ~6 minecraft:repeater[facing=south,delay=1]
Download blueprint
The same block set file — place entirely using the Litematica mod, the WorldEdit plugin, or a structure block.
- TNT trap is open without a victim. Torch is not on the block attached to the tripwire hook or dust is not facing the piston.
- The string does not work. Tripwire hooks don't face each other or the string is broken — reattach the string.
- Chest does not open There is a solid block above it.
- TNT does not explode. The world has the 'TNT Activation and Explosion' rule disabled — see more on the page TNT.
- Arrows fly past. Dispenser must be at player eye level or not directly opposite a block
How to build a trap in Minecraft?
The easiest solution is TNT placed under a pressure plate: the plate on the floor, beneath it a block and nine TNT blocks. After activation, the explosion occurs after 81 ticks (4.05 seconds). Without TNT, a pit under a stretch: a string between two tripwire hooks, beneath it a block on a sticky piston.
Which trap kills a player?
During testing, both TNT and arrow traps were triggered. A player with no armor, who opened a chest trap, died after 93 ticks (4.65 seconds). The zombie on the TNT block died after 92 ticks (4.6 seconds), and the one under the arrows after 87 ticks (4.35 seconds). The pit does not kill but traps the player.
Why doesn't one TNT under the floor kill?
An explosion injures only if it 'sees' the target and the floor blocks the view. During testing, the first explosion under the block left the zombie with 19.1 health out of 20. The second wave kills it: the first explosion breaks the floor and ignites adjacent torches.
- All mechanisms
- Piston Door 2×2
- Piston Door 3×3
- Hidden door
- Hidden ladder
- Lock code
- T-trigger
- Clocks made from redstone
- Automatic lighting
- TNT launcher
- Flying machine
- Dup TNT and carpets
- Redstone components
All wiki content Secret base: entrance behind a picture, a hatch and a chest
Verified on Minecraft 26.3 server: traps were placed via commands from this page and tested with zombies or players without armor, counting game ticks.