This is a collection of configurable redstone gates that run on a simple computer from ComputerCraft.
They only take up a single block and their input and output sides and other settings can be freely configured.
All gates can be configured to your needs. After downloading the program, run edit startup.lua
to edit it.
If the program is running, hold Ctrl T to stop it first.
At the top you will find variables which you can configure to your needs.
The interval setting has to be a multiple of 0.05
(which is 1 tick or 1/20th of a second).
After you've finished, press Ctrl, select [Save]
and press Enter, then press Ctrl again, select [Exit]
and press Enter
Afterwards, run the command reboot
to automatically start the program.
To install one of these gates, run one of the commands from below:
Gate | Install command |
---|---|
AND / NAND | pastebin get 4KSvxN75 startup.lua |
OR / NOR | pastebin get Ss10r84Z startup.lua |
XOR / XNOR | pastebin get tgx2aquv startup.lua |
NOT | pastebin get EsveraQn startup.lua |
These gates are a bit more advanced as they are stateful or have special functionality beyond simple logic.
To install one of these gates, run one of the commands from below:
Gate | Install command | Special features |
---|---|---|
S/R Latch | pastebin get 1CPbvG3s startup.lua |
• Configurable post-change delay |
Sequencer | pastebin get fzZgHDkp startup.lua |
• Fully configurable redstone sequence on all sides • Optional single-shot mode |
Delayer | pastebin get L5a8CSvU startup.lua |
• Fully configurable rising & falling edge delay • Optional invertable output signal |
State Toggle | pastebin get 2ZJEXLhp startup.lua |
• State machine that switches between preconfigured states when toggled • Configurable delays before and after setting signals • Configurable cooldown |
Wireless Redstone Transmitter | pastebin get FWxn5jJv startup.lua |
• Transmits a redstone signal (0-15) via wireless modem |
Wireless Redstone Receiver | pastebin get NKzz7pWW startup.lua |
• Receives a wireless redstone signal and prints it to the console • Integrated time measurement between signal changes • Designed to fit on a pocket computer screen |
Pulse Extender | TODO | TODO |
If a gate has already been installed to a computer, run rm startup.lua
to delete the old program.
Now you can re-download a new gate to it.