Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I am making a castle in my minecraft world but I want a door that villagers can't enter. So, I decided to make a redstone door but everything I looked up on google seemed to complicated. please help!!!!!!!!!!!

share|improve this question
1  
Is there a particular problem you're having with making the door work? You haven't really given us a whole lot to go off of. –  Frank Aug 8 at 3:49
1  
@Frank it doesn't seem like the OP has made a door but rather is asking how to make a "simple" door, however even then the OP has not provided any details on what door they are looking for as a "simple" door to me would be an single iron door with a red stone trail between it and a switch –  Memor-X Aug 8 at 3:56
    
I had the same problem. I ended up using stone pressure plates. It's still possible that they will accidentally step on the plate and get inside but they no longer seek out my house at night. I play with a lot of mods so it's possible that it doesn't work in vanilla. –  MiniRagnarok Aug 8 at 13:52

2 Answers 2

The most simple door that a villager cannot go through is an iron door powered by a button. If you need to use levers, you will need to build a simple XOR Gate.

Buttons

You will need:

Put down the iron door and place a button on an adjacent block to the door on both sides. When you press the button the door will open momentarily, with just enough time to walk through.

enter image description here

Levers (XOR Gate)

An XOR Gate is relatively simple to make, and allows you to open the door using levers on both sides of the door. I am using XOR Gate Design D from the wiki.

You will need:

The XOR gate is useful for controlling a mechanism from multiple locations. When controls (such as levers) are combined in an XOR gate, toggling any control will toggle the XOR gate's output.

In our case, the output the XOR Gate is toggling is the iron door.

enter image description here

I chose this design because it is compact and simple (doesn't involve repeaters or pistons), but there are other XOR Gate options to choose from if this one doesn't suit your needs.


With both of these methods you can open and close the door by flipping the lever or pressing the button. Villagers cannot get through becuase they cant interact with buttons or levers.

Quote from the "Door" page on the wiki:

Since villagers cannot operate buttons or levers and zombies cannot break them, iron doors can be used to lock a house in a generated village.

share|improve this answer
3  
+1 for a very simple door –  Flaunting Aug 8 at 7:21
1  
Only issue with this is that it will can once opened you can't travel through and close it on the other side –  Flaunting Aug 8 at 12:48
    
Buttons and pressure pads work well too. Place a pressure plate on the side of the door you don't want the villagers on, but you can walk over to activate the door, then place a button on the other side. Alternatively two buttons or two switches also work. –  Ben Aug 8 at 15:28
    
@Flaunting Simplest I can think of to fix that would be two levers and a XOR gate but that might be a bit complex for OP. –  Studoku Aug 8 at 17:07
    
@Ben Villagers can activate pressure plates. –  Caleb Aug 8 at 21:07

you can use the commands /replace and /fill to make a neat door. just connect a button to a command block that puts an huge iron wall open/close by making an XOR gate with a command block on one side that fills the gate and another that replaces it with air. if you are an command block noob, then too bad for you. it is very simple if you follow the steps carefully.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.