cc-tweaked / CC-Tweaked

Just another ComputerCraft fork
https://tweaked.cc
916 stars 211 forks source link

Add a separate redstone peripheral #1624

Open accrrsd opened 10 months ago

accrrsd commented 10 months ago

By default, the computer has the ability to identify the redstone signal from each side, there are 6 outputs in total. Due to the features of minecraft redstone, the circuits turn out to be quite large and it is very inconvenient to connect them into one computer, and even if you connect them, it is only 6 signals, which may seem insufficient. Because of this, it is necessary to build complex systems with several computers that exchange data, instead it would be great to be able to connect a wired modem and use it as a "splitter" of redstone signals.

Ultimately, this will simplify interaction with redstone, and will avoid unnecessary use of additional computers, because in fact they are used only to identify redstone signals.

Example of use: Let's say we are building schemes on several floors of a building, whether it is a multi-storey farm or an architectural idea. Now we can get 4 signals for the current floor and only 1 signal for the upper and lower floors, which is definitely not enough. However, with this update, we will be able to conduct a wired modem for each desired floor and get additional redstone slots.

Lupus590 commented 10 months ago

There are a few add-on mods that do this via a redstone peripheral.

SquidDev commented 10 months ago

I do think this is one of those things which probably does make sense to have in the main mod (though probably via a peripheral rather than methods on the modem itself). I did a ComputerCraft-only playthrough a couple of years ago, and it was the main feature I missed.

I did start some work on this last year (almost exactly!, the last commit was 29th Oct 2022). However, could not find a texture I was happy with. Maybe something to pick up again.

As a work around for now, if you've got Wired Redstone or MoreRed installed, you can use their bundled cables instead, which allows transferring 16 signals in one cable.

fatboychummy commented 10 months ago

I also one-up the thought of having a redstone integrator in the main mod. Having remote redstone capability is really nice, rather than having to write little redstone controller computers.

Even though programming those is fun too

TheStraying11 commented 6 months ago

redstone_top_off redstone_top_on redstone_front_off redstone_front_on redstone_side_off redstone_side_on my weak attempt at a texture based on the existing peripherals, and the vanilla observer

TheStraying11 commented 6 months ago

image here they are blown up