Redstone Clocks
A redstone clock is the simplest form of a contraption that utilizes precise timing. It is simply a redstone signal repeatedly powering on/off.
An observer clock powering two sticky pistons. It's a bit erratic, but it works.
Place two observers facing each other, and boom, you've got the easiest redstone clock in the game. The observers are constantly sensing each other's block updates, creating an infinite loop. Of course, you can't really control the timing, but this REALLY comes in handy when all you need is a repeating signal, period.
Much more consistent and orderly. A bit harder to implement in most redstone contraptions, though.
This one is almost as simple, and much more consistent and controllable than the observer clock. The redstone torch is initially powering the repeater, which powers the redstone line redirecting back to the block the torch is on, de-powering the torch and creating a loop. Since the repeater is set to a delay of 3 ticks, that's how long each redstone "pulse" will last, and this can of course be modified by changing the repeater's tick delay.
Other Simple Stuff
The front of the piston door.
The back of the piston door.
For most builds, a normal door will do. But what if you want to get a bit fancy with it? This simple (sticky) piston door will do the trick. When you step on the pressure plate, it activates the redstone line directly below it (you can't see it, but trust me, it's there). That line continues through the repeaters until it makes its way to the target blocks, powering them and thus de-powering the redstone torches on top of them. In the door's closed state, the sticky pistons are extended, being powered by the redstone torch and subsequent redstone lines around the back. The de-powering of the redstone torch also ends up de-powering the sticky pistons, retracting them and opening the door.
I did it! This sheep must be so impressed with my ultra-genius block game skills.
Fig. 7-1: A simple item filter. (Ignore the redstone lamps in the background.)
Fig. 7-2: A look inside the top hopper. (And my messy inventory.)
Fig. 7-3: A look inside the output chest. Now I can keep track of all my riches!
The most complex of these simple contraptions, this item filter takes in items from an input chest, only outputting one specified item into the output chest.
To do this, many components come into play. Let's take a look at Figure 7. If I were to input 64 items (one stack) directly into the top hopper, it would funnel them through until there are 22 items left. Why is that? Well, the comparator takes an input from the top hopper. If it outputs a signal strength greater than 2, it will end up powering the repeater, which will de-power the redstone torch, unlocking the bottom hopper. 64 items in the hopper produces a signal strength greater than 2- so, the hopper keeps funneling items out until the signal strength from the comparator is 2 or less, and the bottom hopper becomes locked again. That magic number for the max amount of items to produce a signal strength of 2 or less is 22.
So what do we do now? We need to spread exactly 22 items out across all 5 storage spaces in the top hopper. We're gonna want to grab 18 of the item we want to filter, put that in the first slot, and put one cheap item into the all other slots. Now, if we were to put a stack of our filter item into the input chest, it would all pass through into the output chest, while any other item will stay put in the input chest. Our item filter is complete!
Our filter item is able to be added on to the stack of 18 we have in the first slot of the top hopper. When one of our filter item enters the hopper, this goes over that magic number of 22 items, unlocking the bottom hopper and allowing that one item to pass through. For all other items, they're never able to enter the hopper- all the slots are taken by other items.
Now, having learned the basics of redstone (yes, all of this is the BASICS), go try experimenting with it yourself! Redstone is always challenging, but can be immensely rewarding when you get the hang of things. You'll find that pretty much any action in Minecraft can be automated via redstone. The possibilities are infinite- but before you go, have a look at some of these incredible contraptions!