Redstone Tutorial: Mob-Proof Door

This door is easy to build, is zombie-proof (zombies are able to bash down wooden doors if the difficulty level is set to Hard) yet convenient for the player to get in and out.

The door is operated by a push-button on the outside:

mob proof door

And a pressure plate on the inside:

fancy door

On the way out, you just run over the pressure plate and the door opens and closes behind you.

On the way back in, you push the button and the door will stay open until you pass through.

Building Instructions

mob proof door

We start with a doorway, of course!

 

mob proof door

Standing on the outside, dig away 6 blocks like this.

 

mob proof door

And 4 more like this.

 

mob proof door

Add 2 redstone torches on the sides of the 2 blocks

 

mob proof door

Add 3 pieces of redstone dust.

 

mob proof door

Add a repeater pointing left to right.

 

mob proof door

Place 2 blocks to cover the gap.

 

mob proof door

Build out the door frame.

 

mob proof door

Place a pressure plate in the doorway.

 

mob proof door

Add an iron door and a button. Job's done!

How does it work?

The mechanism under the door is a simple circuit called an "RS NOR latch", which is useful in many situations. It is useful for turning a pulse (such as a button press or a minecart passing over a detector rail) into a sustained signal that stays on until it is switched off again.

The simplest form of RS NOR latch looks like this:

RS NOR latch

Any signal to input A will switch on Output B and switch off Output A. A signal to Input B will do the opposite. Easy!

As you can see. it's very similar to the circuit under the door. The only function of the repeater under the door is to help squeeze the circuit into a smaller space.

In the case of our mob-proof door, pushing the button changes the state of the latch, and the pressure plate changes it back.

On the way out of the door, the pressure plate just opens the door because it's next to it, and the latch isn't involved.