Redstone
Redstone is an ore you will find down at the bottom of your mines. When you mine it, you will get Redstone Dust, which is what you will need to make redstone circuits.Basic Principles of Redstone
Redstone is all about 'power' &emdash; you can think of it as being a bit like electricity. Redstone power comes from a power source, and can be transmitted to devices which will then do something in response.- Power sources
- These are the things that provide redstone power: they include switches, redstone torches and the like.
- Powered blocks
- Most types of blocks can become powered. This can happen when the blocks contain a power source, or when they are attached to a power source. For example, if you push a button, two blocks become powered: the block containing the button, and the block the button is attached to.
- Switching blocks ON
- Once a block is powered, it can switch on the blocks directly next to it. The blocks that are switched on are not themselves "powered" (i.e. they will not transmit power to their neighbours), but if they are devices, they will be activated.
- Devices
- This is a term we use to describe anything that does something when switched on by redstone: for example, a light will light up, a door will open, or TNT will blow up.
Which blocks can be powered?
In general, opaque blocks (ie.blocks you can't see through) can be powered by redstone; transparent blocks and non-solid blocks can not.Can be powered | Can not be powered |
---|---|
All types of stone and brick blocks.
Dirt, grass, gravel, sand. Wood, wool. Double slabs. Droppers and dispensers. |
Glass, ice, glowstone.
Stairs and single slabs. Chests. Leaves. Pistons and hoppers. |
Power Sources
These are blocks that can provide a redstone signal. These can be always on (redstone torches, blocks of redstone), or they can be switches that are activated by the player, or they can be sensors that respond to various factors.The first three power sources you will be interested in are described here: the lever, which is a basic on/off switch, a pushbutton which provides a momentary pulse of power, and the redstone torch which is a constant source of power, but also has other uses.
Lever
Stone Button
Redstone Torch
The redstone torch has another feature that makes it very important for redstone engineers: when the block that a torch is attached to is powered or switched on by another redstone signal, the torch will be switched off.
This signal inversion behaviour is the basis of many of the clever tricks that can be done with redstone in Minecraft.
Other Power Sources
There are many other power sources, including prssure plates, daylight sensors and more.Redstone Devices
These are objects that are activated by being adjacent to a powered block, or at the end of a redstone wire.Devices that can be activated include doors, pistons, dispensers, note blocks, and minecart rails.
Transmitting power: Redstone wire
The final piece of the puzzle is redstone wire, which is made by placing redstone dust on the floor. The dust will connect up to make a wire, and will even go up and down steps.Redstone wire is used to transmit power from place to place, just like electrical wire. Redstone wire becomes powered when it is adjacent to a powered block, for example a block containing a power source, or the block a lever is attached to, or the block above a redstone torch.
Redstone power runs along the redstone wire, powering the blocks underneath the wire.
Redstone wire also powers the block at the end of the line; however, this block only gets weak power. A block at the end of a redstone wire will switch on neighbouring blocks like any other powered block, but it will not power redstone wire in them.
How far does the power travel?
Redstone power will travel a certain distance along a wire, depending on the strength of the power source.Most power sources have a strength of 15, meaning the power will go 1 blocks. Certain power sources such as daylight sensors or weighted pressure plates might produce less power, which will travel a shorter distance.
Sending power vertically
Redstone power can go up and down stairs. The most compact form is a spiral that fits in a 2x2 column: you can go up and down these stairs too!You'll need to add a repeater every 15 blocks to keep the current flowing.
Redstone Ladders
Certain blocks are 'not quite solid' and can be used to build a more compact ladder for redstone current, but it will only travel in an upward direction. These blocks are upside-down stairs, slabs placed in the top half of the block, and glowstone.Redstone Torch Ladders
Redstone torches can be used to create ladders that move a signal up or down.Redstone torches switch off if the block they are attached to is powered, which is how these ladders work. This means that torches in the ladder alternate between ON and OFF. There are three designs above: the first two transmit signals upwards. The second transmits signals downwards: note the redstone dust on top of each bloch; that's important.
Extending the range: Redstone repeaters
Redstone repeaters have three functions:- they extend the range of a wire, boosting the signal to a strength of 15. By playing a repeater every 15 blocks you can extend a wire as far as you want.
- they introduce a small delay into the wire; you can set how long by right clicking to cycle between 0.1, 0.2, 0.3 or 0.4 seconds.
- they only allow redstone current to pass in one direction (marked by an arrow on top of the repeater), like a diode.
Another use for repeaters is if you want the block at the end of a redstone wire to receive strong power, not weak.
A redstone repeater is crafted from smooth stone blocks (not cobblestone), redstone dust and redstone torches.
Source: http://www.minecraft101.net
No comments:
Post a Comment