Very compact XOR-Gate - Minecraft

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 196

  • @nooneatall5612
    @nooneatall5612 7 років тому +93

    lol it took me 1 hour to figure out a 3x5 design, this is so much more compact thanks!

    • @degisikadam726
      @degisikadam726 5 років тому +5

      İt took me 30 minuttes make 5x5

    • @TechSupportDave
      @TechSupportDave 4 роки тому +1

      @@degisikadam726 I could only make a regular non-compact XOR gate using and and or gates.
      it's surprisingly difficult understanding a virtual mechanic like minecraft. regular laws of redundancy and logic don't always apply here as you have to take into consideration that redstone works in specific ways.

    • @nomars4827
      @nomars4827 11 місяців тому

      When you get the whole logic, and will have all logic functions in your head understanding the ways how to get one from others you can make dozens of designs.
      I made some without candles at all. Also I made 1 block thickness design and it is big. (The only thing I had to make output sideway, so it is 2 blocks wide actually)

    • @nomars4827
      @nomars4827 11 місяців тому

      Actually this is 3x4 design

  • @TinyFoxTom
    @TinyFoxTom 4 роки тому +9

    This takes me back. I made my first redstone computer with your video. You have my grattitude!
    You can make a standing version with 5 blocks in an X shape, torches on the bottom blocks, redstone dust on the middle block, two blocks in front of the bottom two blocks, redstone dust in front of the torches, have another torch sticking out of the middle block, and two torches sticking out the front two blocks. The vertical version uses about half as much redstone as the horizontal one---perfect for survival mode--whereas the horizontal version is great as a half-adder because the third torch's output can be taken as a carry input.

  • @UnexpectedlyRandomOfficial
    @UnexpectedlyRandomOfficial 7 років тому +37

    Beautiful! Exactly what I was looking for!

  • @cosimobaldi03
    @cosimobaldi03 5 років тому +26

    It works like magic, I'm still wrapping my head around understanding it exactly by decomposing it in and and or

    • @abeke5523
      @abeke5523 5 років тому +5

      I understand how it works but I can't properly explain it lol

    • @vyor8837
      @vyor8837 5 років тому +8

      @@abeke5523 As long as one of the levers is pulled, the center torch is out and one of the side torches is on. If both are pressed, the center torch turns on which turns off the side torches.

    • @abeke5523
      @abeke5523 5 років тому +2

      @@vyor8837 oof that explanation was way way way WAY simpler than mine

    • @vyor8837
      @vyor8837 5 років тому +4

      @@abeke5523 I am very proficient in circuit design ;)

    • @biggiganticbones
      @biggiganticbones 4 роки тому +1

      The xor equivalent he uses is (not(notA or (not(notA or notB)))) or (not(notB or (not(notA or notB))))
      not means redstone torch and or means something that has 1< power sources.

  • @pixelraid5742
    @pixelraid5742 5 років тому +5

    Thanks, now I can build all the logic gates I’ll ever need

  • @jamesonthomas9583
    @jamesonthomas9583 4 роки тому +2

    very nice for creating a light in a room with 2 switches

  • @AfterMath-e9e
    @AfterMath-e9e Рік тому +1

    Very good! It was very useful for my first machine learning project in Minecraft!

  • @g3n3r41xan
    @g3n3r41xan 11 років тому +6

    I really like this compact design. Thanks

  • @richardkendward7386
    @richardkendward7386 5 років тому +3

    I build one XOR gate and it worked in the first try but it was VERY big! Thank you for this compact version!

    • @gigaprofisi
      @gigaprofisi 5 років тому

      Bruh ima make you a redstone superhuman

  • @takeoversfirebeats
    @takeoversfirebeats 2 роки тому +3

    Love the design, it’s very useful for making a basic ripple carry adder with the torches

    • @FirstnameLastname-jd4uq
      @FirstnameLastname-jd4uq Рік тому

      The ripple carry adder was so hard. First of all it extends off very fast and you need tons of redstone repeaters so i had to make the carry out go down and into the next input. And so much more like mixing up inputs and outputs.

  • @eolgrillo
    @eolgrillo 4 роки тому +4

    This is so nice and useful, I'm looking for more compact logic gates

  • @Fumble469
    @Fumble469 5 років тому +27

    Looks like ur doing some kind of ritual

  • @orangeleaf36
    @orangeleaf36 4 роки тому +5

    this is 8 years old and it still works

    • @bpmoran89
      @bpmoran89 2 роки тому

      10 years old and still works

    • @orangeleaf36
      @orangeleaf36 2 роки тому

      @@bpmoran89 mhm

    • @slinx92new
      @slinx92new Місяць тому

      12 years old and still works

  • @randomystic8602
    @randomystic8602 6 місяців тому

    Still helpful till this day, other designs don't work with one tick pulses such as observers, this was perfect!

  • @DukeOfTheBLVD
    @DukeOfTheBLVD 2 роки тому

    I still use this design 8 years after seeing this

  • @Thatguy2051
    @Thatguy2051 11 років тому +1

    I've been trying to find one of these that works for hours now. Thank you so much for posting this and putting me out of my misery. =)

  • @TheHeroCrafter
    @TheHeroCrafter 11 місяців тому +7

    Anyone here in 2024?

    • @Papasot
      @Papasot Місяць тому

      Yup 👍

  • @randomperson1418
    @randomperson1418 2 роки тому +1

    Still works, almost 9 years later!

  • @ryderf90
    @ryderf90 6 місяців тому

    thanks for making this, helped a ton with my base :D (I have a 2x3 piston door I’ve been only able to have a lever inside before seeing this)

  • @SilentDusk
    @SilentDusk 2 роки тому

    Still works, thanks man my two way lever piston door is working thanks to you.

  • @MrBlavena
    @MrBlavena 8 років тому +94

    nice one, but this is a door, not a gate... my search will go on

    • @SteamedToast
      @SteamedToast 8 років тому +7

      Once you have the correct final signal, you can route it to whatever, doesn't matter what object is on the end, it will set to the correct state.

    • @martijnheil8825
      @martijnheil8825 8 років тому +11

      This is a LOGIC gate, which are used in digital electronics. Totally different thing than a gateway.

    • @weak1ings
      @weak1ings 7 років тому +13

      Joke
      Your head

    • @denizbuyukgural6531
      @denizbuyukgural6531 6 років тому +2

      Door is the output so it's still an xor gate.

    • @jay-tbl
      @jay-tbl 6 років тому +8

      r/whoooosh

  • @Chilla123-h8c
    @Chilla123-h8c Рік тому

    You are genius. I have been looking for this the entire time. Now i can complete my piston door.

  • @jerry5087
    @jerry5087 9 місяців тому

    One of the simplest and best XOR Gates I could find!

  • @deidara_8598
    @deidara_8598 5 років тому +3

    Thanks, currently making a computer and needed a way to simulate conditional branching using xnor gates.

    • @mk9834
      @mk9834 5 років тому +1

      i wish the best for you

    • @deidara_8598
      @deidara_8598 5 років тому

      @@mk9834 Thanks :)

    • @Simon-cj5ey
      @Simon-cj5ey 5 років тому

      Art is a explosion

    • @deidara_8598
      @deidara_8598 5 років тому

      @@Simon-cj5ey Ah, I see you're a man of culture as well ;)

  • @Superborrrd
    @Superborrrd 10 років тому +2

    Very useful.and easy. Already used this design a lot. Thank you!

  • @FatKidOnRoids
    @FatKidOnRoids 12 років тому

    OMG THANKYOU! this is the only video that shows a quick tutorial on an XOR gate and it's s

  • @CyberSCP-426
    @CyberSCP-426 6 місяців тому

    pro tip: to make this work with three inputs, make two of these and put the output of gate 1 to an input of gate 2. Place input 3 on the second input of gate 2.

  • @PropZ_
    @PropZ_ 11 років тому +2

    you made it really compact nice work dude

  • @shieldgaming8630
    @shieldgaming8630 3 роки тому +1

    Even more compact xor gate:
    P = power source
    R = redstone dust
    C = A redstone comparator in subtraction mode
    Design:
    [ ] [R] [R] [ ]
    [R] [C] [C] [R]
    [P] [R] [R] [P]

  • @SuperSmashGame
    @SuperSmashGame 3 роки тому +1

    The most amazing thing is that it still works in 1.16.5

    • @instructorsnow3266
      @instructorsnow3266 3 роки тому

      Why would it not ? It's just dust, repeaters and torches lol the most basic thing will never break

  • @Nappquest
    @Nappquest 5 місяців тому

    Much thanks!! this worked for my secret spiral 3x3 piston door lmao at first it wasn't working correctly, like it was a one way switch where one could open one side but only if the other wasn't powered... Turns out I had the two repeaters backwards on the device. 😅

  • @ownerzennc3812
    @ownerzennc3812 2 роки тому

    great this circuit worked perfectly in my redstone computer :D :D

  • @Chrnan6710
    @Chrnan6710 11 років тому +1

    2x3x3? Genius!

  • @Not.a.bird.Person
    @Not.a.bird.Person 7 років тому +2

    You should probably show the 4 input states instead of just showing 3, it would help in showing that it's actually an XOR gate.

    • @fgvcosmic6752
      @fgvcosmic6752 5 років тому

      The fact that the build is symmetrical shows that the 2 other ones “10” and “01” will have the same result

  • @keyurkhatri8206
    @keyurkhatri8206 4 роки тому +1

    i watched this video today and this was exactly what i wanted so i liked it then i checked his views are pretty good but 129 subs only so i subscribed to him too.

  • @raafmaat
    @raafmaat 10 років тому +1

    nice n small, sadly this is XNOR , because the outputs are inverted... i cant find XOR anywhere....

    • @raafmaat
      @raafmaat 10 років тому

      true, but i want a XOR, not an XNOR where i have to invert the outputs again back to XOR :P

    • @garetwebster8079
      @garetwebster8079 10 років тому

      raafmaat Well that's the best way to make it.......

    • @TinyFoxTom
      @TinyFoxTom 9 років тому +3

      It's not XNOR. With XOR, one output or the other is on, but not at the same time. With XNOR, it returns true if the inputs are all on or all off.

    • @raafmaat
      @raafmaat 9 років тому

      TinyFoxTom hmmm... i'd have to look into that... although that post was almost a year old and i have no idea anymore what i needed a XOR for :P

    • @notchmath9642
      @notchmath9642 9 років тому

      raafmaat I like this design for xor better then the "most compact" one on minecraft wiki, so far, because the wiki one does not make sense. I do xnor by just putting an inverter on here.

  • @mironsamokhvalov9323
    @mironsamokhvalov9323 3 роки тому

    After 9 years it still works lol

  • @Shuriken255
    @Shuriken255 6 років тому

    Thank you for actually working XOR gate. The one that is on official wiki and uses comparators doesn't work.

    • @FirstnameLastname-jd4uq
      @FirstnameLastname-jd4uq Рік тому

      It does work but it has to be exactly right or it wont work. Its more compact but its kinda annoying to use and this one is easier to use

  • @josephfrancoya
    @josephfrancoya Рік тому

    This is amazing thank you

  • @hrmny_
    @hrmny_ 10 років тому +1

    this is actually a half adder if you put a block on the torch which turns on when both levers are on (and gate) and radstone on top of it

    • @starsky1012
      @starsky1012 9 років тому

      ArmyOfCamels No. Half adders outputs two things: a sum and a carry. The sum is uses a XOR gate but the carry uses an AND gate. This circuit is half of what is used in a half adder.

    • @hrmny_
      @hrmny_ 9 років тому

      starsky1012 the back torch is the and gate

    • @starsky1012
      @starsky1012 9 років тому

      ArmyOfCamels
      one ouput

    • @hrmny_
      @hrmny_ 9 років тому

      starsky1012 ? are you too dumb?

    • @starsky1012
      @starsky1012 9 років тому

      ArmyOfCamels
      Sorry. One output*. I forgot a "t".

  • @kittenscarrotsandmore1636
    @kittenscarrotsandmore1636 4 роки тому

    Thank you!

  • @denizbuyukgural6531
    @denizbuyukgural6531 6 років тому +1

    Thanks, now I can make 4-bit computer!

    • @dielfonelletab8711
      @dielfonelletab8711 6 років тому

      Thats what I'm doing now! How did you implement the registers?

  • @makszab285
    @makszab285 9 місяців тому

    Wow a nice tuto- AAA WHEN DID THIS GET UPLOADED??!

  • @ericdimarzio5756
    @ericdimarzio5756 2 роки тому

    Thank you so much.

  • @danielcecchin9634
    @danielcecchin9634 10 років тому

    You are literally a champion, thanks a bunch!

  • @TheAntiSaint
    @TheAntiSaint 4 роки тому

    if you have a wireless redstone mod just hide this underground

  • @estexperience29
    @estexperience29 4 роки тому

    Hi im looking to do another xor gate but with 3 switches instead of 2. It is possible?

  • @peterbenbow3932
    @peterbenbow3932 Місяць тому

    tysm very useful if you make it correctly it is stackable

  • @ZeroSteel45
    @ZeroSteel45 4 роки тому

    Thanks you I was trying to figure out how to get my piston doors to close and open for to long haha

  • @lgbit7126
    @lgbit7126 5 років тому

    Thanks, this helped me a lot.

  • @Miguel-gj8uc
    @Miguel-gj8uc 4 роки тому

    Thanks

  • @Schamana
    @Schamana 4 роки тому

    Thank You!!!!!

  • @Wenahua
    @Wenahua 11 років тому

    Best gate most compact I've seen in my life.if favorited and may subscribe

  • @dariuseversol
    @dariuseversol 6 років тому

    This is great!! now how would you hide something like this, so the user only sees a switch or maybe 2 .. also one switch could be inside the house or building and the other one outside somewhere nearby the door and convenient, how would you acomplish this... and how big of a house would you need to fit all the wiring and such? it would be great for lighting systems too operate the same light or lights with 2 switches in let us say somewhat remote locations like on either end of a long hall say... just curious how do you route all the wiring in these cases so that the whole thing is mostly at least sight unseen?

  • @LtJDangle
    @LtJDangle 4 роки тому

    Thank you so much, just seriously, THANK YOU

  • @mattshu
    @mattshu 11 років тому

    Brilliant. I don't know why I've been using the clunky design at the MC Wiki. :)

    • @notchmath9642
      @notchmath9642 9 років тому

      ***** I figured out the comparator one.

    • @notchmath9642
      @notchmath9642 9 років тому

      TheLoneWolf But you can't use it for a xnor.

    • @Catishcat
      @Catishcat 8 років тому

      +NotchMath You *probably* can just invert it, right?

  • @Mauricetz
    @Mauricetz 4 роки тому

    So cool.

  • @infini667
    @infini667 3 роки тому

    explanation?

  • @lyonheart501st
    @lyonheart501st 7 років тому

    thank you

  • @blockinaterstudios6501
    @blockinaterstudios6501 9 років тому

    What is screen recorder

  • @DeDerpyDerp_
    @DeDerpyDerp_ 6 років тому

    FINNALY THANK YOU

  • @Chewy427
    @Chewy427 7 років тому

    Can you make an overview next time, it's really hard getting a screenshot to show my friends

    • @jay-tbl
      @jay-tbl 6 років тому

      just build one lol

  • @tobywong5517
    @tobywong5517 4 роки тому

    omg thx i was stuck doing the whole or and and thing that was like, 50x50x5

  • @mrshark100100
    @mrshark100100 10 років тому

    Thanks so much, very help!

  • @7pid7
    @7pid7 11 років тому

    thanks so much. very clear and easy

  • @sesaed4269
    @sesaed4269 5 років тому

    very helpfull

  • @json9865
    @json9865 4 роки тому

    Genius

  • @hitnrun66
    @hitnrun66 5 років тому

    thank u so much!

  • @VictorGamerLOL
    @VictorGamerLOL 4 роки тому

    Mumbo Jumbo but in 2012

  • @giovannisparagna5594
    @giovannisparagna5594 3 роки тому

    does it still work in 1.17? in case this should be the best xor gate ever! is 3*3*2, don't need to drop items so shouldn't be laggy and it makes it perfect for huge projects

  • @daman136
    @daman136 2 роки тому

    OMG THANK YOU

  • @bubbletea8793
    @bubbletea8793 3 роки тому

    i was looking up explanations of xor gate for my discrete math exam and this is the first video I click

    • @benaiahhendrickson9850
      @benaiahhendrickson9850 3 роки тому

      XOR gates are binary codes where if you have one input it gives an output, but if you have both inputs or no inputs it won’t turn on. But I figure you already know this lol

    • @bubbletea8793
      @bubbletea8793 3 роки тому

      @@benaiahhendrickson9850 im out of school

  • @acesaf7053
    @acesaf7053 10 років тому

    Shouldn't the door stay open if both are on?

    • @ScottySR
      @ScottySR 10 років тому +4

      No, the idea of XOR is that if both inputs are on or off at the same time, then output is 0.

    • @notchmath9642
      @notchmath9642 9 років тому +1

      SoapyLynx I think you are asking about the redstone. Redstone-wise, pause at 0:24 to see the whole thing, keeping in mind where the levers go. As we see, since the redstone torches near the levers are not gates, when the levers are both on the torches both turn off. This means there is no signal going to the close torch, so it turns on. It does not power the redstone that connects to the door, but it does power those next to it, causing those not gates to both turn off. When the levers are both off, the far torches are on, and the redstone just takes the direct path.

    • @acesaf7053
      @acesaf7053 9 років тому

      Thanks, this post was last year by the way

    • @notchmath9642
      @notchmath9642 9 років тому

      Haha yeah, but still want others to see it even if you figured it out.

    • @acesaf7053
      @acesaf7053 9 років тому

      Have a good day ;)

  • @TechSupportDave
    @TechSupportDave 4 роки тому +4

    The downside to this XOR model is delay. When working with larger redstone projects, the delay may be unwanted. However, if using these early on in a non-iterative system, I think it's more acceptable. I really like how there's this kind of "discipline" that has to be followed with redstone, as of course, with real electronics, the delay is often negligible as we're dealing with actual electricity, as there is no tick rate.
    However, with this specific gate model, luckily the repeaters only serve to keep the gate three blocks wide. So it is easy to modify to have less delay, at the cost of more space being taken up of course.

    • @bpmoran89
      @bpmoran89 2 роки тому

      they also function as diodes, which is important to this build (i.e. you couldn't replace them with bare wires / redstone)

  • @ongamon0309
    @ongamon0309 11 років тому

    Good job!
    Thank you so much:)

  • @cjcunited
    @cjcunited 9 років тому

    Thanks this is the only one that worked

  • @khazzor8564
    @khazzor8564 9 років тому

    perfect video.

  • @raccoon_cast
    @raccoon_cast 9 років тому

    thx

  • @starlitsunrise17
    @starlitsunrise17 11 років тому

    Thank you! This was very helpful :)

  • @LlamaBG
    @LlamaBG 12 років тому

    awesome video man

  • @bobbob53629
    @bobbob53629 11 років тому

    genius

  • @Jacob-mi3il
    @Jacob-mi3il Рік тому

    so smart!

  • @bananaplays175
    @bananaplays175 Місяць тому

    Yes

  • @Scier357
    @Scier357 2 роки тому

    still works

  • @ТимурПавлюк-е2з
    @ТимурПавлюк-е2з 6 років тому

    It is a, beautiful!

  • @invisibleimpostor299
    @invisibleimpostor299 5 років тому

    Can you make a torchless version of it?

  • @theoneevans7790
    @theoneevans7790 2 роки тому

    It did not work I seen the part where he puts in the red stone in the middle and it worked

  • @kepplerM
    @kepplerM 12 років тому

    Great, thanks so much :D

  • @Monosekist
    @Monosekist 5 років тому

    Nice

  • @myszot6804
    @myszot6804 2 роки тому

    Compact, but not so fast
    :D

  • @penggo6653
    @penggo6653 7 років тому

    There's better way of doing it. Put one repeater in the middle to turn off the middle torch and replace the repeaters with dust. xD

    • @CronoARG95
      @CronoARG95 7 років тому

      Hey Yow I tried that but it didn't function the same way

  • @bruzai3377
    @bruzai3377 5 років тому

    Dude I've been trying to do it myself for 10 hours legit and all I have to do was this? I thought I need to use a comparator.

    • @fusion_gemer1657
      @fusion_gemer1657 4 роки тому

      I mean at the beginning ik you could just use repeaters for a basic splitting but wow this is so compact!

  • @AaronLow1
    @AaronLow1 8 років тому +4

    Ah I see.. Brilliant. Inverting an inverted signal is a positive. Nice.

    • @ScriptGuider
      @ScriptGuider 8 років тому +4

      +AaronLow1 Not if the signal you're inverting twice is negative.

    • @eduardobaccarelli789
      @eduardobaccarelli789 5 років тому

      XOR gates don't do that... They give an output if one, only one of its inputs are on.

  • @lennartjwz
    @lennartjwz 12 років тому

    nice vid thanks for helping me out :D

  • @alexmercer7970
    @alexmercer7970 3 роки тому

    i managed to make a huge one and i was happy, but after seeing this i am feeling completely stupid..

  • @null5573
    @null5573 3 роки тому

    Now make 1x1

  • @eddiemuff0371
    @eddiemuff0371 5 років тому

    Cool

  • @davidkinkade3884
    @davidkinkade3884 4 роки тому

    works in 1.15.2

  • @gdspeeder6631
    @gdspeeder6631 Рік тому

    Cool!

  • @batot_eben_batotah
    @batot_eben_batotah 2 місяці тому

    minecraft graphics were so bad back then