Sunday, July 6, 2014

Minecraft: Hidden Doors


The first thing I tried to do when the game added sticky pistons was to make hidden doors.  There are lots of different ways to do this, but a number of them have little alcoves or other signs that a door is present.  You have to put a lot of thought into placing your door so that it can't be stumbled upon.  That lever is also a dead give away, but this is an emergency exit from the city so I don't mind giving away it's location.


Start your doorway with a path 2 blocks wide and 3 blocks deep.



Put 2 stacks of  sticky pistons on each side, even with the back 2 rows of the path.  The sticky part should face inwards.  This is how they'll cover up your doorway, but open it when you flip the lever.


Your next stacks of pistons will face towards you, these will push the hidden face into place when the door is closed.


Then put the stone blocks that will make up the face of the door.


Place blocks on top of the piston stacks and across the door opening.  This will run your red stone properly


Redstone dust across the top, with repeaters facing outward.  When powered, the power will actually flow down through the stack and power both pistons. You should try an experiment and make the door three blocks high and see if it will still power the whole stack...


If you put a lever in the center, this will allow you to turn on the circuit.  Hopefully powering the pistons.


Sure enough, it totally worked!  Way to go you have a hidden door! Go turn off the lever.


Oh no!!!  It looks like your secret door is busted.  It isn't really, we just need to figure out what went wrong.  I think you'll find that there needs to be a delay before the pistons on the side fire off, so they can pull your other pistons and stone blocks outward, revealing your opening.


That is the whole reason we put those repeaters in our circuit.  If you'll remember, the repeaters not only refresh the power of a circuit but also can input some delays into the circuit.  This is the delay you need.  Click the repeaters three times each and you'll get the delay you need to have everything work properly.


Flip the switch on and off again a couple times, and you'll see that your doorway is 100% functional.


A switch inside the door is only good if you have another way in.  If you place a switch on the other side, this can power it as well and not lock you out of the hidden room.  However, if you do something as simple as what is pictured it is way too obvious.  People will flip the switch just based off curiosity.



You can also do a daylight sensor if you're crazy and just want the room open during the day.  






In the end though, you can do some pretty cool escape routes from your castles, towns, or mines.  Keep roving, Rovers.

Minecraft: The Daylight Sensor


Have you ever been yelled at for leaving a light on?  I know when I was a kid I used to get yelled at a lot.  It never made much sense until I started paying electricity bills.  If only there were a neat way to make sure things only turned on at night.   It turns out we have such a thing as our disposal:  the Daylight Sensor


That Brown and white tic-tac-toe board is the daylight sensor.  When daylight hits it, it will emit a signal as strong as the daylight it is being hit with.  Dawn and dusk it won't go very far, and at noon it will be at it's strongest

In this case I put an inverter right next to it.  This is because I want my house lights to be on when it is dark.  I ran the circuit into four red stone lamps.  These should keep the house well lit when it is dark, and light up this upper area as well.


Then I ran the circuit through a repeater and downstairs.  Through another inverter along the way before hitting the iron door for the building.

Now we have a building that automatically unlocks during the daytime, and locks itself as soon as the sun goes down.  You have to keep those creepers and skeletons out of your nicely furnished home.


These are super simple approaches that merely illustrate a couple of different ways a daylight sensor can work.  The most important bit to remember is that you can leave it as is if you want it to provide power during the day.  Or you can run it into an inverter and have it power something when it is dark.

What it powers is largely up to you.