Okay I know very little about redstone. I want to know more, so here it goes. I know about repeaters, and i know about making redstone go vertically. Thats about it. I tried looking through all these redstone topics but i come to a blank.
So if you want, can you like post something that would help me understand it? Maybe a tip or trick?
there's so much you can do with redstone! what do you want to know? Do you want to make a cart system that needs a cave 200 units long, 15 wide, and dug by hand (bad experience, not recommended)? do you want a computer? do you want a 3x3 piston powered door? just saying you want to know more about redstone is like walking into the library of congress and saying you would like to read the books. All of the books.
Rollback Post to RevisionRollBack
If you build a man a fire he will be warm for a day,
If you set a man on fire he will be warm for the rest of his life.
I Think The Best Tip Is To Try Things Again, And Never Stop Trying To Get It.
Or You Could Try Captain Sparklez Redstone For Dummy's Videos.
Also Turn It To Peaceful Creepers Like Redstone.
there's so much you can do with redstone! what do you want to know? Do you want to make a cart system that needs a cave 200 units long, 15 wide, and dug by hand (bad experience, not recommended)? do you want a computer? do you want a 3x3 piston powered door? just saying you want to know more about redstone is like walking into the library of congress and saying you would like to read the books. All of the books.
Hahahahahahah xD
That is the best thing I've ever heard xD
I would sooo make that my sig if we had unlimited sig space like the old days :/
Okay, here goes. A basic introduction into Redstone:
Building blocks
There are three main building blocks in redstone circuitry:
Redstone dust (wiring)
Redstone torches (power sources / inverter)
Redstone repeaters (signal enhancer & delay)
Aside from this there are blocks that generate power and blocks that receive power to operate
Power sources: levers, buttons, pressure plates, detector rails.
Power sinks: doors, noteblocks, dispensers, pistons, rails, powered, rails, tnt.
The first thing of importance is understanding how the three main building blocks receive and transmit power.
Power reception and propagation
Redstone dust
Redstone dust can be powered by any power source directly adjacent to it. When powered it will travel for 15 blocks and then the signal dies. If further travel is required a repeater (or circuit) needs to be attached.
A powered wire will power a regular block if it is on top of that block or running directly into it from the sides, but not when it is below the block. A wire passing a block on a side will NOT power that block even though it might sometimes visually appear to do so.
This is demonstrated in the following image (the cobblestone blocks are powered, the dirt blocks are not).
A wire will not receive power from a regular solid block unless that block is being powered by a repeater or a torch directly underneath.
Redstone wire will not connect with a wire one level higher if there is a solid block in between. However, for translucent blocks (glass, stairs, half-slabs, fences, etc.) this does not hold (though it might still look as if they are unconnected). Cutting the wire with solid blocks can be very useful when making compact versions of circuitry to prevent unwanted connections.
Redstone torch
If the block to which a torch is attached is powered, then the torch will be turned off, otherwise it will be turned on. A signal being inverted by a torch is delayed by 2 ticks, each tick takes 1/20th of a second.
Whenever a torch is on it will send power to all it's direct neighbour blocks (above, below, left, right, front, back) except the one to which it is attached. A torch will only power a regular block if it is directly below it.
Repeaters
A repeater can only receive power from the back side and only sends power to the front. The setting of the repeater determines the propagation delay of this power signal. It's either 2, 4, 6 or 8 ticks, where each tick takes 1/20th of a second.
Repeaters are powered whenever the block behind them is powered, regardless of how this power is passed into it.
Internally Minecraft makes the distinction between being directly powered and indirectly powered. At first this might be a bit confusing, but after some hands on experience, you will quickly get used to it.
Gates
To do anything more useful with this, gates are required. Gates are the fundamental building blocks for any complex behaviour. A gate maps combinations of inputs to an on/off state of its outputs. The easiest way to explain how a gate works is with a truth table.
In these tables we denote being powered with (1) and not being powered with (0).
The following table shows the input (I) in the left column and the output (O) in the right column. As you can see, the output is only turned on whenever the input is turned off. This is known as a NOT-gate. If you understood the previous sections correctly, you already know how to make it.
| I | O |
|---+---|
| 0 | 1 |
| 1 | 0 |
That's right, a torch attached to a block will function as a NOT-gate. Whenever the block is powered, the torch turns off. Otherwise the torch is on. Strictly speaking, it's a NOR gate as the block can have multiple inputs. For now, that's not important.
Let's take a look at two very common gates, the AND and the OR:
| A B | O | | A B | O |
|-----+---+ +-----+---|
| 0 0 | 0 | | 0 0 | 0 |
| 0 1 | 0 | | 0 1 | 1 |
| 1 0 | 0 | | 1 0 | 1 |
| 1 1 | 1 | | 1 1 | 1 |
AND OR
The AND gate is on whenever both it's inputs are on. The OR gate is on whenever at least one of its inputs is on.
In the following image you can see how to construct these gates in Minecraft (AND on the left and OR on the right):
At this point you have enough knowledge to construct any gate you wish. Let's look at another common gate as an example, the XOR gate.
The XOR gate is on whenever an odd number of inputs is turned on. So for two inputs it's truth table is the following:
To convert this into a gate, the following will always work.
Find each row where the output is turned on.
Feed all inputs into an AND gate (or hierarchy of AND-gates if more than two inputs are used)
Put a not-gate between the AND gate and the input if the input on that row is turned off.
Connect all the outputs of the AND gates through an OR gate
This approach is always possible for all gates you can invent, but grows incredible quick in size.
So, for the XOR gate you would do the following:
A->NOT-> A
N---+
B------> D |
OR--->
A------> A |
N---+
B->NOT-> D
At this point it's a very good exercise to construct this gate and try to make it more compact using all you've learned about gates and restone so far. This will teach you how to make compact versions of specific gates you need to utilize at any point in the future. Don't skip this step. Getting experience with building your own gates is vital
Remark: You would never actually construct a XOR gate like that, there are way more compact designs available. However, it is good to know this possibility as it allows you to construct any gate when there are no ready made designs. Trimming a circuit down in size through a series of behaviour preserving transformations is a lot easier than building a compact one from scratch.
More information about gates can be found on this Minecraft wiki page. All basic gates are explained there.
Be sure to also inspect Grizdale's Piston Logic Compendium, as many of the gates described therein are the most compact currently known (without using mods).
Where to go from here?
Make some random truth tables, be sure to try out more than 2 inputs as well:
| A B C | O |
|-------+---|
| 0 0 0 | x | Replace each individual x randomly with a 0 or 1.
| 0 0 1 | x |
| 0 1 0 | x | Construct the gate and make it as compact as possible.
| 0 1 1 | x |
| 1 0 0 | x |
| 1 0 1 | x |
| 1 1 0 | x |
| 1 1 1 | x |
Once you have mastered gates, it is time to look at circuits which depend on their previous output.
Specifically you will want to construct and play around with each of the following. I recommend tackling them in order:
Clocks (next output = not previous output)
SR-latches (memory cell with set (turn on) and reset (turn off) operations.
Pulse generators and edge detectors
T Flip-Flops (toggles the output), D Flip-Flops and JK Flip-Flops.
Adders
Counters
7-segment display attached to a 4 bit counter which shows the numbers 0-F (A=10, B=11, C=12, D=13, E=14, F=15).
Look them up on the Minecraft wiki page, build them and experiment with them.
Support the Allocator! Find my inventions such as my pressure plate removal detector on the About Me page of my profile.
I'm still looking for more feedback on my configurable Redstone Gate mod. All gates and common circuits (such as e.g. clocks, edge detectors, latches and Flip-Flops) in a single block.
I Think The Best Tip Is To Try Things Again, And Never Stop Trying To Get It.
Or You Could Try Captain Sparklez Redstone For Dummy's Videos.
Also Turn It To Peaceful Creepers Like Redstone.
In The English Language Every Word Is Capitalized.
Just saying you want to know more about redstone is like walking into the library of congress and saying you would like to read the books. All of the books.
So if you want, can you like post something that would help me understand it? Maybe a tip or trick?
http://www.youtube.com/user/sirdavva#g/c/3A317ACCDAA8DA93
Maze Collection, Youtube channel, & RFW Series
If you set a man on fire he will be warm for the rest of his life.
Or You Could Try Captain Sparklez Redstone For Dummy's Videos.
Also Turn It To Peaceful Creepers Like Redstone.
Im watching this now
Hahahahahahah xD
That is the best thing I've ever heard xD
I would sooo make that my sig if we had unlimited sig space like the old days :/
Pre-Indev, Son.
Building blocks
There are three main building blocks in redstone circuitry:
Power reception and propagation
A powered wire will power a regular block if it is on top of that block or running directly into it from the sides, but not when it is below the block. A wire passing a block on a side will NOT power that block even though it might sometimes visually appear to do so.
This is demonstrated in the following image (the cobblestone blocks are powered, the dirt blocks are not).
A wire will not receive power from a regular solid block unless that block is being powered by a repeater or a torch directly underneath.
Redstone wire will not connect with a wire one level higher if there is a solid block in between. However, for translucent blocks (glass, stairs, half-slabs, fences, etc.) this does not hold (though it might still look as if they are unconnected). Cutting the wire with solid blocks can be very useful when making compact versions of circuitry to prevent unwanted connections.
Whenever a torch is on it will send power to all it's direct neighbour blocks (above, below, left, right, front, back) except the one to which it is attached. A torch will only power a regular block if it is directly below it.
Repeaters are powered whenever the block behind them is powered, regardless of how this power is passed into it.
Internally Minecraft makes the distinction between being directly powered and indirectly powered. At first this might be a bit confusing, but after some hands on experience, you will quickly get used to it.
Gates
To do anything more useful with this, gates are required. Gates are the fundamental building blocks for any complex behaviour. A gate maps combinations of inputs to an on/off state of its outputs. The easiest way to explain how a gate works is with a truth table.
In these tables we denote being powered with (1) and not being powered with (0).
The following table shows the input (I) in the left column and the output (O) in the right column. As you can see, the output is only turned on whenever the input is turned off. This is known as a NOT-gate. If you understood the previous sections correctly, you already know how to make it.
That's right, a torch attached to a block will function as a NOT-gate. Whenever the block is powered, the torch turns off. Otherwise the torch is on. Strictly speaking, it's a NOR gate as the block can have multiple inputs. For now, that's not important.
Let's take a look at two very common gates, the AND and the OR:
The AND gate is on whenever both it's inputs are on. The OR gate is on whenever at least one of its inputs is on.
In the following image you can see how to construct these gates in Minecraft (AND on the left and OR on the right):
At this point you have enough knowledge to construct any gate you wish. Let's look at another common gate as an example, the XOR gate.
The XOR gate is on whenever an odd number of inputs is turned on. So for two inputs it's truth table is the following:
To convert this into a gate, the following will always work.
So, for the XOR gate you would do the following:
At this point it's a very good exercise to construct this gate and try to make it more compact using all you've learned about gates and restone so far. This will teach you how to make compact versions of specific gates you need to utilize at any point in the future. Don't skip this step. Getting experience with building your own gates is vital
Remark: You would never actually construct a XOR gate like that, there are way more compact designs available. However, it is good to know this possibility as it allows you to construct any gate when there are no ready made designs. Trimming a circuit down in size through a series of behaviour preserving transformations is a lot easier than building a compact one from scratch.
More information about gates can be found on this Minecraft wiki page. All basic gates are explained there.
Be sure to also inspect Grizdale's Piston Logic Compendium, as many of the gates described therein are the most compact currently known (without using mods).
Where to go from here?
Make some random truth tables, be sure to try out more than 2 inputs as well:
Once you have mastered gates, it is time to look at circuits which depend on their previous output.
Specifically you will want to construct and play around with each of the following. I recommend tackling them in order:
I'm still looking for more feedback on my configurable Redstone Gate mod. All gates and common circuits (such as e.g. clocks, edge detectors, latches and Flip-Flops) in a single block.
In The English Language Every Word Is Capitalized.
with a post like that? 100% acceptable.
Pre-Indev, Son.
Lol, I want this to be my banner.