Redstone: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<!-- REDSTONE COMPUTING IN MINECRAFT --> = Redstone Computing in Minecraft = {{Infobox | title = Redstone Computing | image = 300px | caption = A basic redstone calculator in Minecraft | creator = Mojang Studios | introduced = Alpha v1.0.1 (2009) | complexity = ★★★★☆ | realworld_eq = Digital Logic Circuits }} '''Redstone computing''' in ''Minecraft'' represents one of the most fascinating in-ga...") |
(Blanked the page) Tag: Blanking |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- REDSTONE COMPUTING IN MINECRAFT --> |
|||
= Redstone Computing in Minecraft = |
|||
{{Infobox |
|||
| title = Redstone Computing |
|||
| image = [[File:Redstone_computer.png|300px]] |
|||
| caption = A basic redstone calculator in Minecraft |
|||
| creator = Mojang Studios |
|||
| introduced = Alpha v1.0.1 (2009) |
|||
| complexity = ★★★★☆ |
|||
| realworld_eq = Digital Logic Circuits |
|||
}} |
|||
'''Redstone computing''' in ''Minecraft'' represents one of the most fascinating in-game engineering systems, mimicking digital logic through in-game mechanics. |
|||
== 🔍 Overview == |
|||
Redstone enables players to build: |
|||
* **Logic gates** (AND, OR, NOT) |
|||
* **Memory circuits** |
|||
* **Binary adders** |
|||
* **ALUs (Arithmetic Logic Units)** |
|||
* Fully working **Turing-complete computers** |
|||
== 🧰 Components == |
|||
<div class="mw-collapsible mw-collapsed"> |
|||
'''Basic Components''' |
|||
* Redstone dust |
|||
* Redstone torch |
|||
* Redstone repeater |
|||
* Redstone comparator |
|||
* Piston / Sticky piston |
|||
* Observer |
|||
* Lever, button, pressure plate |
|||
</div> |
|||
== 🧠 Logic Gates == |
|||
=== NAND Gate Example === |
|||
<syntaxhighlight lang="lua"> |
|||
-- Pseudocode for NAND gate in Minecraft |
|||
InputA = lever1 |
|||
InputB = lever2 |
|||
Torch1 = NOT(InputA AND InputB) |
|||
Output = Torch1 |
|||
</syntaxhighlight> |
|||
== 🏗️ Build Example: 4-bit Adder == |
|||
=== Circuit Schematic === |
|||
[[File:4-bit-adder-diagram.png|thumb|400px|4-bit ripple-carry adder]] |
|||
=== Truth Table === |
|||
{| class="wikitable" |
|||
|+ 1-Bit Adder Truth Table |
|||
! A !! B !! Carry In !! Sum !! Carry Out |
|||
|- |
|||
| 0 || 0 || 0 || 0 || 0 |
|||
|- |
|||
| 0 || 1 || 0 || 1 || 0 |
|||
|- |
|||
| 1 || 1 || 1 || 1 || 1 |
|||
|} |
|||
== 🔄 Tabs: Compare Real Logic vs Redstone == |
|||
<tabs> |
|||
<tab name="Real Logic"> |
|||
Uses transistors, voltage, silicon wafers. |
|||
</tab> |
|||
<tab name="Redstone Logic"> |
|||
Uses torches, dust, blocks, and game ticks. |
|||
</tab> |
|||
</tabs> |
|||
== 🖼️ Gallery == |
|||
<gallery mode="packed" heights="150"> |
|||
File:Redstone_ALU.png|Redstone ALU |
|||
File:Redstone_memory_cell.png|1-bit memory cell |
|||
File:Redstone_clock.png|Redstone clock circuit |
|||
</gallery> |
|||
== 🧮 Redstone Calculator == |
|||
* Supports **addition**, **subtraction**, and limited multiplication |
|||
* Inputs are binary levers |
|||
* Outputs via lamp displays or droppers |
|||
=== Example: 3 + 2 === |
|||
<syntaxhighlight lang="javascript"> |
|||
Input A: 011 |
|||
Input B: 010 |
|||
Output: 101 |
|||
</syntaxhighlight> |
|||
== 🧬 Turing-Complete Machines == |
|||
[[File:Redstone_Turing_Machine.gif|right|250px]] |
|||
* Players have built entire CPUs and RAM arrays |
|||
* Capable of running **Brainfuck** or **assembly-style** code |
|||
* Demonstrates real-world computing principles |
|||
== 🧩 Advanced Template Logic == |
|||
{{#switch: {{CURRENTDAYNAME}} |
|||
| Monday = Today is logic gate maintenance day! |
|||
| Tuesday = Today is comparator calibration day! |
|||
| #default = It's redstone playtime! |
|||
}} |
|||
== ⌛ Tick Timing == |
|||
Using {{#time:H:i, F j|now}} game ticks: |
|||
* 1 redstone tick = 0.1 seconds |
|||
* Common pulse generators use repeaters set to 2-4 ticks |
|||
== 🔗 See Also == |
|||
* [[Redstone]] |
|||
* [[Minecraft Engineering]] |
|||
* [[Computational Universality in Games]] |
|||
== 📚 References == |
|||
<references> |
|||
<ref name="wiki">https://minecraft.fandom.com/wiki/Redstone_circuit</ref> |
|||
<ref name="cpu">https://www.youtube.com/watch?v=wgJfVRhotlQ</ref> |
|||
</references> |
|||
== 📂 Categories == |
|||
[[Category:Redstone Engineering]] |
|||
[[Category:Minecraft Computing]] |
|||
[[Category:Game Logic Systems]] |
|||
== ⛓️ Navbox == |
|||
{{Navbox |
|||
| name = Minecraft Engineering |
|||
| title = Minecraft Engineering Topics |
|||
| group1 = Mechanics |
|||
| list1 = [[Redstone]] • [[Pistons]] • [[Observers]] |
|||
| group2 = Advanced Builds |
|||
| list2 = [[Redstone Clock]] • [[Binary Adder]] • [[Turing Machine]] |
|||
}} |