EDIT: What I learned from this thread: xor gates. :mellow.gif:
There should be an item that literally changes the power state of the connected redstone. So if the power is ON, it changes it so it is OFF, and vice versa. Like a Redstone Repeater, it works only in one direction.
The reason I suggest this is so that it is easier to make a piston door, for example, that can open and close from either side regardless of position. When I made a door for example, it has a switch on each side. I can open it, go in, and close it. But if I die and spawn outside, it can no longer open unless I dig in and flip the inside switch.
So here is how it goes. You have a door (In this example, I was thinking piston, so when the door is receiving no power it is open - just some clarification!) in the cliff. Let's say both switches are off. You walk inside, and turn the inside switch on. It goes through, and when it reaches the device, the device changes the power to on. You die, and spawn outside. So you flip the switch; instead of doing nothing because the power of the other switch is on, the device makes it so that since the natural power would be on, the power is now off. The door is open. You walk in, and flip the switch again. It returns to it's natural power state (on) and the door closes.
What you are talking about is basically just a NOTNOT gate, with a second input that directly attaches to the second torch. Very basic redstone logic. Even with your idea, your concept won't work. You go inside by using lever 1, then close it using lever 2. What if someone decides to flick your switch? Then your basically stuck.
An XOR gate is what you want.
EDIT: Just realized, an AND gate also works that way. fail.
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
What you are talking about is basically just a NOTNOT gate, with a second input that directly attaches to the second torch. Very basic redstone logic. Even with your idea, your concept won't work. You go inside by using lever 1, then close it using lever 2. What if someone decides to flick your switch? Then your basically stuck.An XOR gate is what you want.EDIT: Just realized, an AND gate also works that way. fail.
OH, maybe I should have clarified piston doors, so it's closed when power is going to it.
But with a normal door, if you flip switch 1, it opens, you go in and flip switch 2, it changes it so that it turns it off. If someone flips switch 1 again, then without the item, the natural power would be off. So the item changes it so it's on again. The door opens.
The item literally changes the block it's connected to, so if it is receiving power (from a source that's not the item; aka, from the redstone or switch or torch before it), it turns it off, but if it's not naturally receiving power it turns it on.
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
Ok, I still don't get it. Does the device change what state the lever is?
EDIT: Also, what do you mean by, then without the item.
You have some redstone on the ground. It is currently receiving power from a lever, and there is the item connected to it. If the item receives power, then the redstone it is connected to (not receiving power from - the affect only travels in 1 direction, like a repeater) turns off. If you turn off the first lever, and removed the item, the power to the redstone would be off. However, if you do not remove the item, then it makes the power turn on, because it switches the state of the power.
If I understand correctly what you are saying, then you want to have a block which toggles its output whenever any of its input wires changes state.
Essentially a T Flip-Flop which responds to both rising and falling edges of any wire connected to it. The regular circuit for that would consists of both a rising and falling edge detector with a pulse generator attached and those inputs or'ed together and fed into a T Flip-Flop (for each input). That's a fairly large circuit.
Though that is certainly possible to make, this particular problem is easier solved with a XOR gate as shown in this video. The video utilizes a mod I created such that I can have complex gates in a single block, but the gate shown is nothing more than a xor gate. Without mods, the xor gate is a bit larger. You can find a compact version of it here.
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.
Then this is basically just an XOR gate. It has 2 inputs, and each toggle the output (switches the state). the truth table is
11=0
00=0
10=1
01=1
Enter the place by flicking the first lever (it becomes 10=1 Depending on the design, it will open the piston door. If it doesn't then add a NOt gate)
Flick the second lever (it becomes 11=0 which should close the piston door)
die, flick the first lever again (it becomes 01=1, which re-opens the door)
Flick the second one (it becomes 00=0, the door closes.)
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
If I understand correctly what you are saying, then you want to have a block which toggles its output whenever any of its input wires changes state. Essentially a T Flip-Flop which responds to both rising and falling edges of any wire connected to it. The regular circuit for that would consists of both a rising and falling edge detector with a pulse generator attached and those inputs or'ed together and fed into a T Flip-Flop (for each input). That's a fairly large circuit.Though that is certainly possible to make, this particular problem is easier solved with a XOR gate as shown in this video. The video utilizes a mod I created such that I can have complex gates in a single block, but the gate shown is nothing more than a xor gate. Without mods, the xor gate is a bit larger. You can find a compact version of it here.
Obviously I'm not an expert O_O. But, that mod (and the simplified version) looks cool, and while I haven't used truth tables, it's obvious what it means when I see it.
Then this is basically just an XOR gate. It has 2 inputs, and each toggle the output (switches the state). the truth table is11=000=010=101=1Enter the place by flicking the first lever (it becomes 10=1 Depending on the design, it will open the piston door. If it doesn't then add a NOt gate)Flick the second lever (it becomes 11=0 which should close the piston door)die, flick the first lever again (it becomes 01=1, which re-opens the door)Flick the second one (it becomes 00=0, the door closes.)Here is a compact version, that can be in 1 block tall spaces.http://www.minecraftforum.net/topic/413949-grizdales-piston-logic-compendium/
Yep, gotten the XOR gate suggestion already. Notice I acknowledged it as correcting my ignorance :tongue.gif: (Even though simple would be nice, I realize that Notch might have more important things to add, since this already exists in game however complex).
There should be an item that literally changes the power state of the connected redstone. So if the power is ON, it changes it so it is OFF, and vice versa. Like a Redstone Repeater, it works only in one direction.
The reason I suggest this is so that it is easier to make a piston door, for example, that can open and close from either side regardless of position. When I made a door for example, it has a switch on each side. I can open it, go in, and close it. But if I die and spawn outside, it can no longer open unless I dig in and flip the inside switch.
So here is how it goes. You have a door (In this example, I was thinking piston, so when the door is receiving no power it is open - just some clarification!) in the cliff. Let's say both switches are off. You walk inside, and turn the inside switch on. It goes through, and when it reaches the device, the device changes the power to on. You die, and spawn outside. So you flip the switch; instead of doing nothing because the power of the other switch is on, the device makes it so that since the natural power would be on, the power is now off. The door is open. You walk in, and flip the switch again. It returns to it's natural power state (on) and the door closes.
request one, its called a inventor, we had to use them before "repeaters" came out hook two up and bam have a repeater.
request two, Xor, logic table below
1 1 = 0
0 0 = 0
1 0 = 1
0 1 = 1
-
View User Profile
-
View Posts
-
Send Message
Retired StaffAn XOR gate is what you want.
EDIT: Just realized, an AND gate also works that way. fail.
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
Doh. Googled it, tested it, and I can make it hidden wiring. Sorry >.> (Still think simple would be better :tongue.gif:)
OH, maybe I should have clarified piston doors, so it's closed when power is going to it.
But with a normal door, if you flip switch 1, it opens, you go in and flip switch 2, it changes it so that it turns it off. If someone flips switch 1 again, then without the item, the natural power would be off. So the item changes it so it's on again. The door opens.
The item literally changes the block it's connected to, so if it is receiving power (from a source that's not the item; aka, from the redstone or switch or torch before it), it turns it off, but if it's not naturally receiving power it turns it on.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffEDIT: Also, what do you mean by, then without the item.
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
You have some redstone on the ground. It is currently receiving power from a lever, and there is the item connected to it. If the item receives power, then the redstone it is connected to (not receiving power from - the affect only travels in 1 direction, like a repeater) turns off. If you turn off the first lever, and removed the item, the power to the redstone would be off. However, if you do not remove the item, then it makes the power turn on, because it switches the state of the power.
Essentially a T Flip-Flop which responds to both rising and falling edges of any wire connected to it. The regular circuit for that would consists of both a rising and falling edge detector with a pulse generator attached and those inputs or'ed together and fed into a T Flip-Flop (for each input). That's a fairly large circuit.
Though that is certainly possible to make, this particular problem is easier solved with a XOR gate as shown in this video. The video utilizes a mod I created such that I can have complex gates in a single block, but the gate shown is nothing more than a xor gate. Without mods, the xor gate is a bit larger. You can find a compact version of it here.
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.
-
View User Profile
-
View Posts
-
Send Message
Retired Staff11=0
00=0
10=1
01=1
Enter the place by flicking the first lever (it becomes 10=1 Depending on the design, it will open the piston door. If it doesn't then add a NOt gate)
Flick the second lever (it becomes 11=0 which should close the piston door)
die, flick the first lever again (it becomes 01=1, which re-opens the door)
Flick the second one (it becomes 00=0, the door closes.)
Here is a compact version, that can be in 1 block tall spaces.
http://www.minecraftforum.net/topic/413949-grizdales-piston-logic-compendium/
I am the bone of my sword
Steel is my body, and fire is my blood
I have created over a thousand blades
Unknown to death, Nor known to life
Have withstood pain to create many weapons
Yet, those hands will never hold anything
So as I pray, Unlimited Blade Works
Obviously I'm not an expert O_O. But, that mod (and the simplified version) looks cool, and while I haven't used truth tables, it's obvious what it means when I see it.
Yep, gotten the XOR gate suggestion already. Notice I acknowledged it as correcting my ignorance :tongue.gif: (Even though simple would be nice, I realize that Notch might have more important things to add, since this already exists in game however complex).