Detecting Full Barrels

  • 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

whythisname

New Member
Jul 29, 2019
474
0
0
When I was playing with the beta pack a while ago (beta pack), it would pop out if I sent the "wrong" item into an iron pipe directed towards a barrel. I can try again and see, but that appeared to be the case.

EDIT: Apologies, just tested it, and it does seem that iron pipes prefer bounce-back, rather than out, but it still doesn't help much if you're trying for a round-robin sorting system
No problem ;) I agree Iron pipes are pretty useless in this scenario.
 

slay_mithos

New Member
Jul 29, 2019
1,288
0
0
Well, if you have 2 diamonds to spare, get some diamond pipes, and put them directly on the top of the barrel:
Code:
i ========= o
  bbbbbbbbb
where i is the input, = is the diamond pipes, and o the output.

Just tell them to make the required item go down, and nothing else specified on any other color.
If the barrel is full, your cobble or whatever will continue along the line, to the next diamond pipe telling it to go somewhere specific, or to the output.

Just add a final diamond pipe near the output to route all the excess you don't want to keep into a void pipe.

I usually use this setup, as it seems easier to setup that RP for me, but that is up to the person's preference.

Plus, if you want to do something special if a barrel is full, you have the gates, with "Inventory full", "Inventory empty" or "Has space in inventory", connecting to either redstone or to pipe wires.

Hope it helps
 

Carrington

New Member
Jul 29, 2019
72
0
0
To detect if the barrel is full use gold gates with space in inventory trigger set to item in the barrel. It will detect space in barrel (or any other container) for a specific item, even if all slots are full. Inventory full trigger will fire if there is no free slot in inventory, which is not how barrels work.

This doesn't appear to actually work - or at least, not in the most recent DW20 pack. Anyone else have an easy way to detect if a barrel is full and emit a redstone signal?
 

Zjarek_S

New Member
Jul 29, 2019
802
0
0
This doesn't appear to actually work - or at least, not in the most recent DW20 pack. Anyone else have an easy way to detect if a barrel is full and emit a redstone signal?
It works for me: http://imgur.com/ATodzRU. Both gates have "space in inventory, stone" -> "redstone signal". Are you sure that you put the correct item in filtering slot of a gate (you need golden one on better). Gates are also side-sensitive, so for this detection they must be on top.
 

Carrington

New Member
Jul 29, 2019
72
0
0
Ah, top side is the issue. I was trying to use a tubes->barrel system with REther signals to tell the rest of my sorting system when to turn cobble into stone, say. Probably going to have to switch to basic chests.
 

RedLion86

New Member
Jul 29, 2019
17
0
0
Forgive the thread necromancy, but is there any way to do this without putting something on the top or bottom of the barrel? I have a Redpower tube + barrel sorting setup, and I'm trying to set up a system that can say: "If the cobblestone barrel and the sand barrel and the glass barrel are all full, then shut off the igneous extruder." (Otherwise my overflow fills up with glass, and the pulverizer and furnace just waste power.)
 

Peppe

New Member
Jul 29, 2019
836
0
1
Before your general overflow put a filter for the glass or whatever it is you want to turn off your machines then:
after the filter place an item detector -- do something with the pulse to toggle your machines probably a latch or state cell depending on if you want a manual or auto reset.

Dead simple auto reset you could use the filter to spit the overflow items out onto a pressure plate -- use that 'on' signal from the pressure plate to turn off your production machines (every 5 minutes the items will despawn from the plate and kick on the machines until the overflow reaches the shutoff again).

I'd probably use a state cell to customize the signal length. It has the same interface as a timer so you can do very long intervals, so you could use that if you only want the machines to try to produce every hour or something.
 

RedLion86

New Member
Jul 29, 2019
17
0
0
That'll work. I had a couple similar ideas, but the auto-reset was stumping me. Having it try to produce every hour isn't the elegant solution I was hoping for, but it looks like it's the best I can do unless gates are fixed.
 

RedLion86

New Member
Jul 29, 2019
17
0
0
Right, but an hour is what I would probably use. Unless I go through an entire barrel of cobble in an hour, I should be fine. Ideally I'd like it to start producing again as soon as one of those 3 barrels is no longer full, but without completely redesigning my barrel system, that doesn't seem possible.
 

SmokeLuvr1971

New Member
Jul 29, 2019
753
0
0
I think relays can produce a redstone signal when they back up. That being true, you can pipe your items through a relay, and shut off the circuit when the relay blocks up.

Yeah, this statement is false. Relay will not trigger a gate to stop sending items, at least not an autarchic gate