
What you are building
This compact build is a specialized redstone mechanism designed to trap entities using bed mechanics and piston logic. It serves as a reliable way to secure areas or manage entity movement in your world.
You can build this anywhere you need a secure trapping zone, such as near mob spawners or high-traffic areas, provided you have a flat surface to accommodate the circuitry.
Materials 57 blocks · 12 types
- Obsidian18
- Cobblestone13
- Redstone Wire5
- Repeater5
- Sticky Piston4
- Cobbled Deepslate2
- Piston Head2
- Red Bed2
- Redstone Block2
- Redstone Wall Torch2
- Comparator1
- Lever1
How it works
The mechanism relies on a redstone circuit built with repeaters, comparators, and redstone wire to power sticky pistons. When the lever is toggled, the pistons extend to push obsidian blocks, effectively sealing the red beds inside the trap frame.
How to use it
To operate, ensure the system is powered by the lever. Once activated, the sticky pistons will shift the obsidian and lock the beds in place. Ensure the trap is clear of obstructions before triggering the mechanism.
Constructing the Base and Pistons
Layers 1–3 of 5Start by laying down the cobblestone base and placing the sticky pistons and redstone block configuration. Ensure the pistons are correctly oriented toward the central trap area where the obsidian will eventually be placed.

Finalizing Circuitry and Bed Placement
Layers 4–5 of 5Install the remaining obsidian blocks, redstone wire, repeaters, and the comparator to complete the logic circuit. Place the red beds into the designated spots within the obsidian frame to finish the trap assembly.

Finishing touches
Before using this in a survival world, test the trap in a creative world to ensure the piston timing aligns with your requirements. Check that all redstone connections are solid and avoid placing light sources too close, as they may interfere with trap spawning conditions.
Frequently Asked Questions
Can I expand this trap?
While you can duplicate the circuitry, ensure that the power source is strong enough to trigger all connected sticky pistons simultaneously.
Will this work on all entities?
The effectiveness of this trap depends on the size of the entity. Larger mobs may require a wider footprint than this compact design provides.