It works, but is there something better?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Lord Syyn

New Member
Jul 29, 2019
2
0
0
Simply, it's a redstone control for my spawner setup.

There is space for 16 spawners now, and could be increased to 32 if I wanted.
What I have is a roundabout way of doing 2 things.
1) turn spawners on and off with a lever.
2) have a remote cutoff that stops all spawners from working.

I played around with a number of Redpower 2 gates, for example the XOR board.
It does work for turning on and off, but the cutoff switch also works to turn it on and off (depending on whether the spawn lever is on or off).

So after a number of different approaches, I came up with a semi-complicated approach to it.
I'm using it wirelessly, so I will refer to the pieces by their id's.

I'll post pics, because I don't really think I can explain it very well.


Thats the outside control display. - Green is on, Red is off and orange is cutoff activated. (The 3 green lights at the top are there because I ran out of orange).


The 1300 is the direct link from the spawn lever. It is on in this ss.
1299 is the cutoff frequency. It's off at this point. The toggle is there so it doesn't pulse on and off.
The wires combine to one side of an XOR gate. The output is going to the left, while the 2nd input is going down.


The output from the XOR gate splits into 2 wires, one directly into and AND gate (it has the far input disabled), the other into a repeater (set to 2 clicks from default). The reasoning for this, is when everything was off, flicking the cutoff remote would cause the circuit to pulse - enough to spawn mobs for a moment. The repeater delays the pulse enough that it would not be both at the AND gate and the repeater output at the same time. A constant current would pass through both however.
The output from the AND gate gets transmitted to the light display and to an inverter for the spawner itself.


Where the second input for the XOR gate went down, it led to another cutoff receiver. Again, there is a toggle. This is followed by a double inversion (to prevent it being triggered by the XOR - I had problems in my earlier attempts) and then to the input.


From the output of the AND gate, one receiver is here. The signal is inverted and sent to the receiver on the spawner itself.

So while this works well for what I need, it is large. 16 of these setups take a lot of room and while I can move it elsewhere, it's still there.
If anyone does feel like a challenge in making it better, or pointing out something obvious that I've made a mistake on, then please let me know.
I would appreciate it if you tested it first (99% sure you could replicate it from what I've shown) however, if you don't, then post away regardless.

I had fun making this. I know there are much simpler ways of doing it - lever on the cage for example, but I wanted to add a but more to it. I won't be taking off the lights, or cut off remote.

Cheers all for reading.
 

purplefantum

New Member
Jul 29, 2019
209
0
0
Why do you want a cut off remote? if it's because you don't want them running all the time, i used a player detector from gregtech, forcing people to stay near the spawner while they want it running.
 

Dreossk

New Member
Jul 29, 2019
218
0
0
I might be missing something there but it would be a lot simpler with ComputerCraft. All you need is one computer under each spawner and one main control computer, nothing needed between them (they must have rednet of course). Then you could have a menu like:
1) turn spawner 1 on/off
2) turn spawner 2 on/off
...
x) turn them all on/off

That's one block instead of a wall.
 

ICountFrom0

Forum Addict
Aug 21, 2012
906
1,227
159
Vermont
I'm also going to suggest giving computercraft a try. Direwolf20 has his computercraft button API that makes advanced computers even more powerful and easy to use.
 
  • Like
Reactions: Mjw

Adonis0

New Member
Jul 29, 2019
1,800
0
0
I personally would suggest using an NAND circuit with these

Basically, it needs an input from the Master control switch, and the individual lever to turn the redstone signal off, thus activating the spawner however you want.
You could use it to power a wireless redstone reciever, to a redstone signal to the spawner.

EDIT: you could do this in a T shape in five blocks per spawner using redpower

Wireless Master - And circuit - Wireless Spawner specific signal
---------------------Not circuit
----------------Wireless to spawner
 

Lord Syyn

New Member
Jul 29, 2019
2
0
0
I personally would suggest using an NAND circuit with these

Basically, it needs an input from the Master control switch, and the individual lever to turn the redstone signal off, thus activating the spawner however you want.
You could use it to power a wireless redstone reciever, to a redstone signal to the spawner.

EDIT: you could do this in a T shape in five blocks per spawner using redpower

Wireless Master - And circuit - Wireless Spawner specific signal
---------------------Not circuit
----------------Wireless to spawner



Thanks for the help. That was a lot smaller and easier to build. I may have built it incorrectly however, as I was finding it difficult to use.
It did inspire me to re-design what I had into a more manageable circuit.

Each spawner now uses 4 receivers, 2 NOR gates and an AND gate. (Excluding the toggles for the master)
The problem I was attempting to avoid was having the master turn the system on, even when the spawn switches were off.

Well, I'll look into computers tomorrow. I've very little experience with LUA, so a good guide/tutorial will help out.
Cheers all for the tips, much appreciated.