Redstone: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Blanked the page) Tag: Blanking |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
= Redstone Computing in Minecraft = |
|||
<noinclude>{{DISPLAYTITLE:'''Redstone Computing in Minecraft'''}}</noinclude> |
|||
<includeonly>{{#ifeq:{{NAMESPACE}}|Template|<!-- No header in template space -->|<div style="border:2px solid #AA0000; padding:10px; background:#111; color:#eee; font-family:monospace;">''An expert-level breakdown of Minecraft's most complex redstone systems.''</div>}}</includeonly> |
|||
== ⛏️ Overview == |
|||
{{#tag:div|Redstone in Minecraft allows players to build in-game digital circuits that simulate real-world logic. This article explores how redstone achieves everything from basic gates to full Turing-complete machines.|class="mw-collapsible mw-collapsed"}} |
|||
== 🔣 Logic Gate Emulation == |
|||
{{#tag:pre| |
|||
===[ NAND Gate Layout ]=== |
|||
INPUT A ●──────┐ |
|||
│ |
|||
INPUT B ●──────┼────┐ |
|||
│ │ |
|||
[BLOCK][TORCH] ───● OUTPUT (1 when A or B is 0) |
|||
|lang="text"}} |
|||
== 🧠 Conditional Execution == |
|||
<syntaxhighlight lang="text"> |
|||
{{#ifexpr: {{CURRENTTIME}} < 1200 | Morning Redstone Check | Evening Tick Calibration }} |
|||
</syntaxhighlight> |
|||
== 🧮 Binary Addition Table == |
|||
{{#tag:pre| |
|||
A B Cin | Sum Cout |
|||
---------+---------- |
|||
0 0 0 | 0 0 |
|||
0 0 1 | 1 0 |
|||
0 1 0 | 1 0 |
|||
0 1 1 | 0 1 |
|||
1 1 1 | 1 1 |
|||
|lang="text"}} |
|||
== 🧰 Components Overview == |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"Component": { |
|||
"label": "Component Name", |
|||
"description": "The redstone part", |
|||
"type": "string", |
|||
"required": true |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
=== Main Parts (text-only, collapsible) === |
|||
<div class="mw-collapsible mw-collapsed" style="border:1px dashed #ccc; padding:5px;"> |
|||
'''Redstone Components:''' |
|||
* Redstone dust |
|||
* Repeater |
|||
* Comparator |
|||
* Lever / Button |
|||
* Torch |
|||
* Observer |
|||
* Block update (BUD) |
|||
</div> |
|||
== 🔄 Tabbed Examples == |
|||
<tabs> |
|||
<tab name="Truth Table"> |
|||
{{#tag:pre| |
|||
A | B | OUT |
|||
---+---+----- |
|||
0 | 0 | 0 |
|||
0 | 1 | 1 |
|||
1 | 0 | 1 |
|||
1 | 1 | 1 |
|||
|lang="text"}} |
|||
</tab> |
|||
<tab name="Tick Delay"> |
|||
'''Repeaters''' |
|||
: Each set to 1–4 ticks (0.1s per tick) |
|||
'''Comparator''' |
|||
: Lagless delay, mostly for analog signal smoothing |
|||
</tab> |
|||
</tabs> |
|||
== 🧬 Memory Cells == |
|||
=== RS NOR Latch === |
|||
{{#tag:pre| |
|||
SET ●─────┐ |
|||
│ |
|||
└───[T]───● Q |
|||
│ |
|||
RESET ●────┘ ⊕ (Q NOT) |
|||
|lang="text"}} |
|||
== 🏗️ ALU Configuration (ASCII Model) == |
|||
{{#tag:pre| |
|||
┌────[ XOR ]────┐ |
|||
A ───▶ ├───▶ SUM |
|||
└────[ AND ]────┘ |
|||
B ───▶ ├───▶ CARRY |
|||
|lang="text"}} |
|||
== 🧾 Runtime Logic Using Parser Functions == |
|||
{{#ifexpr: {{CURRENTWEEK}} mod 2 = 0 |
|||
| '''Even Week''': Time to test ALU throughput |
|||
| '''Odd Week''': Run memory cell regression tests |
|||
}} |
|||
== ⏱️ Tick Timing Analysis == |
|||
{| class="wikitable" |
|||
|- |
|||
! Circuit Type !! Delay !! Tick Count !! Game Time |
|||
|- |
|||
| Pulse Extender || 4R + 2C || {{#expr: 4*2 + 2 }} || {{#expr: (4*2 + 2)*0.1 round 2}}s |
|||
|- |
|||
| T Flip-Flop || 3 || 3 || 0.3s |
|||
|} |
|||
== 🧠 Conditional Template Logic == |
|||
{{#switch: {{uc:{{CURRENTDAYNAME}}}} |
|||
| MONDAY = '''Logic Gate Audit''' |
|||
| TUESDAY = '''Tick Testing''' |
|||
| WEDNESDAY = '''Memory Module Optimization''' |
|||
| #default = '''Experimental Mode Enabled''' |
|||
}} |
|||
== 📦 Pseudo-BIOS (Logic Flow Simulation) == |
|||
{{#tag:pre| |
|||
[BOOT] --> [CLK] --> [MUX] --+ |
|||
| |
|||
+------>[ALU]--->SUM |
|||
| |
|||
[REGISTERS] |
|||
|lang="text"}} |
|||
== 📚 Related Concepts == |
|||
* [[Computational Universality]] |
|||
* [[Turing Machine]] |
|||
* [[Redstone Simulator (External Tools)]] |
|||
== 🧠 See Also == |
|||
* [[Logic Gates in Minecraft]] |
|||
* [[Timing Circuits]] |
|||
* [[Analog Redstone Mechanics]] |
|||
== 📂 Categories == |
|||
[[Category:Redstone Engineering]] |
|||
[[Category:Minecraft Logic Design]] |
|||
[[Category:Turing-Complete Systems]] |
|||
[[Category:Expert Builds]] |