BC gates - Question about input triggers....

  • 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

MyDiamonz

New Member
Jul 29, 2019
7
0
0
Brief Question about BC gates. I cant seem to find answers after a good long google search and other websites.

A gold gate has these Input values for a block with an inventory: "Inventory is Empty", "Items in Inventory", "Space in Inventory", and Inventory Full".

Does anyone know the specifics on the 4 values ( such as Items is >10% Space is >25% etc) and how they behave with outputs?

Thanks all
 

Ako_the_Builder

New Member
Jul 29, 2019
789
0
0
empty = empty
items = not empty
space = not full
full = full

You can test conditions by seeing which ones cause the red bar (that connects the input output conditions) to light up, whenever it is lit it will trigger the output condition.
 

Bomb Bloke

New Member
Jul 29, 2019
612
0
0
Inventory empty = 0% space used.
Items in inventory = >0% space used.
Space in inventory = <100% space used.
Inventory full = 100% space used.

You may couple some of these with specific types of items for somewhat different functionality. For example, pairing "space in inventory" with dirt should flag as true even if every inventory slot is used, so long as it's still possible to put dirt in (eg, there's an incomplete stack of the stuff already in there). The same inventory would flag as false if you chose, say, cobble instead, assuming it's truly not possible to throw any more cobble in. Without an item type specified, the container is classed as "full" as soon as every slot is used (even if not all slots contain full stacks).

I found them of interest as a way to determine whether a barrel is full or not. I place diamond pipes above the barrels set to whatever material I want to go in, and a gold OR gate in that set to check if space is available for that item. Note that in the case of barrels the gates must go on top to get any info of interest, meaning the only outputs you can really use that way are redstone or pipewire.