"A useful attribute is that an XOR or XNOR gate will always change its output when one of its inputs changes, allowing for 2 switches to be combined to open or close a door, or activate another device."
That sentence means that whenever you flip either of the levers (inputs) the door (output) will "toggle" (open up if it's closed, and close up if it's open).
Note that this setup means your levers won't have a constant "off" and "on" position... but it doesn't matter since all you need to do is flip either switch just once to toggle the door.
As someone else pointed out, you could also use buttons instead of levers. But then you would want to use a "T-Flop-Flop" logic gate to control the door instead of an XOR logic gate. Every time you press one of the buttons, the state of the door will toggle, or "flip flop".
I much prefer buttons for secret doors, especially if you can place the button on a smooth stone block which makes it very hard to see unless you're looking right at it. Levers stand out like a sore thumb. If I do use levers (sometimes it's difficult to fit the T-Flip-Flop into a restricted area), then I typically will carry the lever with me and only place it on the correct block when I need to use the door. But that's an extra hassle.
I got it working with levers last night, but I didn't check back in the thread and see the T Flip-Flop option or the BUD switch either.
Both of those sound amazingly cool. I really would rather use buttons, and since I built it "backwards" from the way I wanted it facing anyway, I may just tear it all out and re-do it tonight.
Now, next time I see somebody needing help, I have more info to pass forward. Thanks for nobody being a jerk!
I've been wondering how this was achieved also. I've actually spent the better part of the past hour getting all worked up over it. lol Thank you for the enlightenment. BEST BIRTHDAY GIFT EVER. lol
I have hidden stairs leading to my Slime Farm (using a lever, but may switch to a BUD setup now that I see how those work) that is an OR gate (I think) by accident, but it's how I wanted it.
If you approach from the outside, the lever will open and close it, but if you go inside and close it with THAT lever, the outside lever stops working. That way, I have to let anybody in.
I don't really play MP that often, but if I do, I want to be able to keep my **** hid!
I've been wondering how this was achieved also. I've actually spent the better part of the past hour getting all worked up over it. lol Thank you for the enlightenment. BEST BIRTHDAY GIFT EVER. lol
Personal preference is a T flip flop with a button outside and a pressure plate or two inside. If you have anything (chests,furnace,etc.) on the inside close to the door replace the plate(s) with a button as you could inadvertently open the door.
Rollback Post to RevisionRollBack
Give a man fire and he's warm for a day, light a man on fire and he's warm for the rest of his life.
XOR uses leavers and t-flip-flop used button's. (At least the ones I'm using)
You can still use levers for a T flip flop. You just have to hit it twice if it's already down, or on. But buttons are still the way to go, I avoid levers as much as possible, except when it actually looks good. Buttons just look more neat 90% of the time. I'll go completely out of my way to use a button when a lever would be more effective.
If you ever use a t-flip-flop it works a lot faster if you make it powered. Place down a redstone torch to power the redstone on top of the flip-flop so when you hit the button it turns off the torch and activates the flip-flop much faster.
If you ever use a t-flip-flop it works a lot faster if you make it powered. Place down a redstone torch to power the redstone on top of the flip-flop so when you hit the button it turns off the torch and activates the flip-flop much faster.
That's only if it's falling edge triggered, like the piston T flip flop, which I'm assuming is what you're talking about. There are other designs that are rising edge triggered where it would be faster without inverting. Falling edge means it toggles when the signal goes from on to off, rising edge toggle when it goes from off to on, others are level.
Anything button wise, i would rather have a current extender attached directly to the said door, on both sides.
That way the door will open for a few seconds then close itself. I always felt it was tacky to use a button to CLOSE a door, but that's just me.
Known in the wiki as a 'pulse sustainer' - definitely something I utilize often. Nothing is more aggravating than a door that slam shut in your face just as you get to it - usually because the button or plate is a little farther from the door than normal.
But pulse sustainer circuits have problems (read the wiki) so a "monostable circuit" is usually a better choice, and as long as you have the room you can just keep adding repeaters to extend the length of pulse to any amount of time needed. Most of my secret doors are timed perfectly so it closes automatically right after you go thru it. No dilly-dallying!
Redstone is definitely where the game goes from being a fun way to pass some time to being a difficult puzzle game. And I love puzzle games. Usually the puzzle is how to fit the circuitry into the smallest configuration due to space constraints, but sometimes it's just figuring out what you need the circuit to do and which logic gates you need to get there.
So how would I take the t flip flop I have at my front gate and make it auto close behind me? Right now I have a button outside and a two wide pressure plate inside. If someone can just tell me which addition to make I can look it up and incorporate it myself. Thanks. Also I guess if it auto closes I'll have to change the plates to a button.
Rollback Post to RevisionRollBack
Give a man fire and he's warm for a day, light a man on fire and he's warm for the rest of his life.
So how would I take the t flip flop I have at my front gate and make it auto close behind me? Right now I have a button outside and a two wide pressure plate inside. If someone can just tell me which addition to make I can look it up and incorporate it myself. Thanks. Also I guess if it auto closes I'll have to change the plates to a button.
Get rid of the flip flop and use what the guy above you just posted.
There's a couple of stickied threads in this forum's redstone section that are pretty excellent, and you'd probably get more advice with a question in that section too. I keep giving up and just using a lever, but I'd really like to make a button that opens a piston door, with hidden wiring, and the door stays open until you push the button again or push the second button on the other side.
Literally all you need is a T flip flop, a good number of number of people on this thread have posted about it.
Known in the wiki as a 'pulse sustainer' - definitely something I utilize often. Nothing is more aggravating than a door that slam shut in your face just as you get to it - usually because the button or plate is a little farther from the door than normal.
But pulse sustainer circuits have problems (read the wiki) so a "monostable circuit" is usually a better choice, and as long as you have the room you can just keep adding repeaters to extend the length of pulse to any amount of time needed. Most of my secret doors are timed perfectly so it closes automatically right after you go thru it. No dilly-dallying!
Redstone is definitely where the game goes from being a fun way to pass some time to being a difficult puzzle game. And I love puzzle games. Usually the puzzle is how to fit the circuitry into the smallest configuration due to space constraints, but sometimes it's just figuring out what you need the circuit to do and which logic gates you need to get there.
I actually "created" my own sustainer. (thanks for teaching me the correct name). It's not very space saving (depending on the sustain) but it doesn't require pistons or anything "gimmicky" if you will.
Just good 'ol Redstone and repeaters. :). Works everytime.
Got it built, but as CNB tends to do, he's left a rather... lame... switch location.
Here's the video:
As you see, he has a single input with a switch in an out of the way place.
I want to run TWO levers, one inside and one outside.
I would PREFER it change with each flip, regardless of which lever is pulled, and regardless of the position of each lever.
Please help!
Thanks!
I just wasn't sure exactly which type of gate I needed.
And... I *THINK* it's "an" because you pronounce the "x" as "ex-or", therefore it begins with a vowel SOUND (the "e" in "ex").
Thanks for the info!
But yes, an e(x)clusive-(or) gate is what you are looking for.
XOR uses leavers and t-flip-flop used button's. (At least the ones I'm using)
see here
http://www.minecraft....28.E2.8A.BB.29
"A useful attribute is that an XOR or XNOR gate will always change its output when one of its inputs changes, allowing for 2 switches to be combined to open or close a door, or activate another device."
That sentence means that whenever you flip either of the levers (inputs) the door (output) will "toggle" (open up if it's closed, and close up if it's open).
Note that this setup means your levers won't have a constant "off" and "on" position... but it doesn't matter since all you need to do is flip either switch just once to toggle the door.
As someone else pointed out, you could also use buttons instead of levers. But then you would want to use a "T-Flop-Flop" logic gate to control the door instead of an XOR logic gate. Every time you press one of the buttons, the state of the door will toggle, or "flip flop".
I much prefer buttons for secret doors, especially if you can place the button on a smooth stone block which makes it very hard to see unless you're looking right at it. Levers stand out like a sore thumb.
I got it working with levers last night, but I didn't check back in the thread and see the T Flip-Flop option or the BUD switch either.
Both of those sound amazingly cool. I really would rather use buttons, and since I built it "backwards" from the way I wanted it facing anyway, I may just tear it all out and re-do it tonight.
Now, next time I see somebody needing help, I have more info to pass forward. Thanks for nobody being a jerk!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI'm just a Minecraft player that likes to give my opinion. Nothing special to see here.
If you approach from the outside, the lever will open and close it, but if you go inside and close it with THAT lever, the outside lever stops working. That way, I have to let anybody in.
I don't really play MP that often, but if I do, I want to be able to keep my **** hid!
Happy Birthday! Mine is next Friday!
Ugliest birthstone FTW!
That way the door will open for a few seconds then close itself. I always felt it was tacky to use a button to CLOSE a door, but that's just me.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffYou can still use levers for a T flip flop. You just have to hit it twice if it's already down, or on. But buttons are still the way to go, I avoid levers as much as possible, except when it actually looks good. Buttons just look more neat 90% of the time. I'll go completely out of my way to use a button when a lever would be more effective.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffKnown in the wiki as a 'pulse sustainer' - definitely something I utilize often. Nothing is more aggravating than a door that slam shut in your face just as you get to it - usually because the button or plate is a little farther from the door than normal.
But pulse sustainer circuits have problems (read the wiki) so a "monostable circuit" is usually a better choice, and as long as you have the room you can just keep adding repeaters to extend the length of pulse to any amount of time needed. Most of my secret doors are timed perfectly so it closes automatically right after you go thru it. No dilly-dallying!
Redstone is definitely where the game goes from being a fun way to pass some time to being a difficult puzzle game. And I love puzzle games. Usually the puzzle is how to fit the circuitry into the smallest configuration due to space constraints, but sometimes it's just figuring out what you need the circuit to do and which logic gates you need to get there.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffGet rid of the flip flop and use what the guy above you just posted.
Literally all you need is a T flip flop, a good number of number of people on this thread have posted about it.
I actually "created" my own sustainer. (thanks for teaching me the correct name). It's not very space saving (depending on the sustain) but it doesn't require pistons or anything "gimmicky" if you will.
Just good 'ol Redstone and repeaters. :). Works everytime.