We run Minecraft Version 1.12.2
Results 1 to 5 of 5
  1. #1
    Tsar_Maple's Avatar Diamond Digger
    Join Date
    May 2012
    Location
    a state of confusion
    Posts
    670
    Faction Tag
    [GS]

    Minecraft Logic Gates


    Hey everyone! So this semester, one of my Computer Science classes is 1610 Discrete Mathematics, which is logic-based reasoning. This means deducing things using true or false. I recently discovered that the applications of discrete mathematics can be visualized in Minecraft using logic gates, which didn't make any sense to me before I started this course!

    Logic uses a few terms such as AND, OR, and XOR. Each term has different properties associated with it.

    So, with that said, I'm going to be showing you guys that don't do much redstone what a simple logic gate is, using an OR gate. OR gates are True if one or both inputs are True (turned on). If both inputs are false, the output will be false (turned off).

    In discrete mathematics, we use what's called a truth table to visualize this.

    A True True False False
    B True False True False
    A OR B True True True False

    (The alignment is usually oriented differently, as you'll see in a bit. Too lazy to make it super pretty, but the table is still correct)

    So, I wanted to test this out for myself. I built my truth table...

    Truth table:

    ...and then built a simple proof-of-concept. If the redstone lamp is on, then the output is True. If it's off, the output is False.

    True OR True


    True OR False


    False OR True


    False OR False

    These concepts are kinda key to many redstone works. AND gates are useful for locking doors (AND requires both inputs to be True, so if you had a door that had a switch on the interior and a pressure plate on the exterior, the switch would need to be On (True) in order for the door to open when the pressure plate is pressed).

    I'm still learning a lot about Logic implementations in Minecraft, but if y'all found this interesting, lemme know and I'll post more! Also, if you've got questions, I'll answer those too :P

  2. #2
    dph's Avatar Minecraft Addicts Operator
    Join Date
    Feb 2011
    Location
    South East England
    Posts
    590

    I am glad that you are finally finding redstone interesting. Its good fun trying to make solutions to problems using redstone and look forward to seeing how you apply your new interest!
    I run a shop. Buy stuff!

    Vote! You know you want to: http://www.minecraftaddicts.com/show...craft-Addicts!

  3. #3
    Tsar_Maple's Avatar Diamond Digger
    Join Date
    May 2012
    Location
    a state of confusion
    Posts
    670
    Faction Tag
    [GS]

    Haha yeah! Looking forward to getting in the more complex bits

    edit: I think I might make this a series actually haha
    Last edited by Tsar_Maple; 02-24-2017 at 12:30 AM.

  4. #4
    dph's Avatar Minecraft Addicts Operator
    Join Date
    Feb 2011
    Location
    South East England
    Posts
    590

    I remember years ago I made a red stone tutorial building, that was over 6 years ago now. Had all the different circuits in and all the applications that I could think of. Redstone has come a long way since then! Do it, would be a helpful reference for people. If you need help with anything just say
    I run a shop. Buy stuff!

    Vote! You know you want to: http://www.minecraftaddicts.com/show...craft-Addicts!

  5. #5

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



All times are GMT. The time now is 12:49 PM.    Powered by vBulletin
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
Privacy Statement Terms of Use