
Video: How to Build a Minecraft Alarm System- [Redstone Tutorial] by TrackKing25
How to build it
- Build the optional beacon base
Place a 3x3 grid of mineral blocks (such as iron blocks) in the ground and set a Beacon in the center. If you do not have a beacon in survival, you can skip the beacon and its base—the alarm circuit will still work without it.
- Set up the glass and slime slider
Sneak and place a Red Stained Glass block directly on top of the beacon, then place a Green Stained Glass block beside it. Attach a Slime Block next to the green glass and place a Sticky Piston facing the slime block so it can push and pull the glass over the beacon.
- Add the slime arm and redstone block
Attach three more Slime Blocks to the first slime block to form an arm extending to the side. Place a Block of Redstone on the end of this slime structure so it moves back and forth whenever the sticky piston extends or retracts.
- Install the floor observers and obsidian
In the floor in front of the beacon, place two Observers horizontally in a line, then dig underneath them and place two more Observers facing downward. Put two Obsidian blocks underneath those lower observers and one Obsidian block on top of the sticky piston so the slime structure cannot grab surrounding blocks.
- Wire the repeater and redstone line
Next to the movable Block of Redstone, step down one block and place two building blocks leading back toward the floor observers. Place one Redstone Repeater on the end, a second Redstone Repeater set to 2 ticks, and connect the remaining blocks with Redstone Dust.
- Build the comparator pulse extender and alarm
Behind the repeater, place a block up and build a small 2x3 platform of six blocks for a comparator loop. Place two Redstone Comparators facing opposite directions surrounded by Redstone Dust, then place an Observer watching the dust with a Note Block directly in front of its output.
- Add the arm/disarm lever
Fill in the surrounding floor platform and place two solid building blocks near the sticky piston with a Lever attached. Flipping this lever powers the sticky piston, sliding the green or red glass over the beacon and moving the Block of Redstone into or out of position.
- Place the string trigger and doorway
Cover the beacon hole with a transparent block so the beam can shine through, then place a piece of String across the floor in front of the observer. Build a doorframe or walls around the path so players must walk over the string.
How it works
This security circuit combines a hidden tripwire observer trigger with a piston-controlled gating mechanism:
- Arming & Disarming (Slime Slider): Toggling the lever extends or retracts the sticky piston. Because the stained glass, 4 slime blocks, and the
Block of Redstoneare connected, switching the lever simultaneously changes the beacon color between green and red and slides the redstone block into or out of the circuit. Obsidian prevents the slime blocks from sticking to the floor or the piston housing. - Intruder Detection: A piece of string sits in front of the floor observer. When a player walks through the string, its state changes and the observer fires a short redstone pulse into the repeater and dust line.
- Alarm Siren: When the system is armed (red), the movable
Block of Redstoneand repeater line allow the signal to reach the two-comparator decay loop (pulse extender). As the signal cycles and fades through the comparator loop, the final observer detects each state change and rapidly pulses theNote Blockto create an alarm sound.
Tips & variations
- No Beacon Required: If you are building this early in survival, you can omit the beacon and 3x3 mineral base entirely; the red and green glass above the floor still acts as a visual indicator for whether the alarm is armed.
- Remote Control: You do not need to keep the lever right next to the gate. Run a redstone line from a hidden control room or security desk straight into the sticky piston to arm the door from afar.
- Custom Alarm Pitch: Right-click the note block to tune the pitch, or place different blocks underneath the note block (such as gold for a bell chime or iron for a xylophone) to customize your security siren.
- Use Non-Stick Blocks: Always use obsidian, glazed terracotta, or other immovable blocks around the slime block arm so the sticky piston does not hit the 12-block push limit.





