Gate

Gates are devices which attach basic electrical logic onto BuildCraft Transport Pipes, Fluid Pipes and Kinesis Pipes.
Gates come in several versions; the Basic, Iron, Gold, Diamond, Emerald and the Quartz Gate, which have (except the Basic Gate) an AND and OR variant on it, which have increasingly more options. Detailed information, features and usage of each variant can be found in the article of the respective gate.
The difference between the AND and the OR gates is when it will trigger an action. Both will trigger if one condition is true, but if an AND gate is used, and two or more conditions are set to trigger the same action, the action will only trigger when both conditions are true (If this AND is true). If an OR gate got two or more conditions set to the same action, the action will trigger when either of the conditions are true (If this OR is true).
When placing a gate on a pipe by a block with an inventory, a liquid buffer or an energy buffer, the gate will show conditions according to the block. An example would be to place it by a chest, and you would get inventory related conditions (Inventory empty, space in inventory, etc.). Some blocks or mods have their own conditions, like the Apiary and IC2 machines. All conditions are described in the respective article of the gate.
Gates can send a signal along a pipe using Pipe Wire. To transfer a signal from a pipe that does not connect to another pipe (Waterproof to Transport), it is possible to use Cobblestone Structure Pipe. In the following table is shown the ability of all gate types to interact with Pipe Wire:
Chipset	Chipset 	Can Interact With Pipe Wire Colors	Configurable Functions	Special abilities
 	Basic Gate 	Red 	1 	Gate for the beginning
 	Iron AND / OR Gate 	Red, Blue 	2 	Advanced basic gate
 	Gold AND / OR Gate 	Red, Blue, Green 	4 	Additional options for precondition
 	Diamond AND / OR Gate	Red, Blue, Green, Yellow 	8 	Additional options for precondition
 	Emerald AND / OR Gate	Red, Blue, Green, Yellow 	4 	Gate to control the Robots
 	Quartz AND / OR Gate 	Red, Blue, Green 	2 	Additional options for precondition and action.
== Recipe ==
The player can choose the desired mode (AND or OR) if he has placed all needed resources in the Assembly Table, and the choosen one is produced.
== Usage ==
All Gates can be placed on all types and sides of the BuildCraft pipes with a right-click. By holding the crouch-key and right-clicking the gate can be removed without to destroy the pipe. 
Note: The basic function is that the gate checks the precondition in the right slot, and, if this precondition is true, executes the option in the left slot. The bar between the left and right slot light up red when the precondition is currently True.
With a right-click the player can open the GUI, which has dependent on the gate a different amount of slots. These slots can be configurated by clicking in it.
The possible options depends on the pipe where the gate was mounted. The options which are available at all gates are listed in the tables below with a brief description:
* Selectable options independent of the pipe (goto)
* Additional options for extraction (wooden) pipes (goto)
* Additional options for pipes they are connected to enegy or item consumer (machines), chests, tanks and so on (goto)
* Additional options only available for special pipes (goto)
* Furthermore all gates have the ability to interact with Red Pipe Wire to transmit and/or receive redstone signals over the BuildCraft own wire system. An example with a Diamond AND Gate is shown in the picture, but it is the same except that not all Gates can interact with the all types of Pipe Wire (listet in the table above). In the GUI the corresponding option is selectable if a pipe wire is connected to the Gate (goto)
=== General options for all pipes and gates ===
Following gate options are available on all pipes of the respective type (kinesis, fluid, transport):
	Left slot	Left slot 	Left slot 	Right slot	Right slot 	Right slot
	Icon 	Text 	Explanation 	Icon 	Text 	Explanation
	 	Power Traversing 	Set True if the kinesis pipe transmits energy 	 	Closed 	Stops the energy transmission
	 	Pipe Empty 	Set True if the kinesis pipe is empty 	 	Input Only 	Allows only the input of a energy
	 	Power Requested 	Set True if the kinesis pipe requests energy 	 	Open 	Allows the transmission of energy
	 	Power Overloaded 	Set True if the kinesis pipe is overloaded (red line)	 	Output Only 	Allows only the output of energy
	 	Redstone Signal On 	Set True if a redstone signal receives the gate 	 	Redstone Signal	Activates a redstone signal
	 	Redstone Signal Off	Set True if no redstone signal receives the gate 	 	 	
	 	Fluid Traversing 	Set True if the fluid pipe transmits a fluid 	 	Closed 	Stops the fluid transmission
	 	Pipe Empty 	Set True if the fluid pipe is empty 	 	Input Only 	Allows only the input of fluid
	 	Redstone Signal On 	Set True if a redstone signal receives the gate 	 	Open 	Allows the transmission of fluid
	 	Redstone Signal Off	Set True if no redstone signal receives the gate 	 	Output Only 	Allows only the output of fluid
	 	 	 	 	Redstone Signal	Activates a redstone signal
	 	Items Traversing 	Set True if the transport pipe transmits items 	 	Closed 	Stops the item transmission
	 	Pipe Empty 	Set True if the transport pipe is empty 	 	Input Only 	Allows only the input of items
	 	Redstone Signal On 	Set True if a redstone signal receives the gate 	 	Open 	Allows the transmission of items
	 	Redstone Signal Off	Set True if no redstone signal receives the gate 	 	Output Only 	Allows only the output of items
	 	 	 	 	Redstone Signal	Activates a redstone signal
=== Additional options for extraction pipes and all gates ===
Following gate options are additional available on the extraction pipe of the respective type (kinesis, fluid, transport):
 	Left slot	Left slot 	Left slot 	Right slot	Right slot	Right slot
 	Icon 	Text 	Explanation 	Icon 	Text 	Explanation
Wooden Kinesis Pipe 	 	High Energy Stored	Set True if the connected engine has much energy stored 	 	 	
Wooden Kinesis Pipe 	 	Low Energy Stored 	Set True if the connected engine has less energy stored 	 	 	
Wooden Kinesis Pipe 	 	Engine Blue 	Set True if the connected engine is blue 	 	 	
Wooden Kinesis Pipe 	 	Engine Green 	Set True if the connected engine is green 	 	 	
Wooden Kinesis Pipe 	 	Engine Yellow 	Set True if the connected engine is yellow 	 	 	
Wooden Kinesis Pipe 	 	Engine Red 	Set True if the connected engine is red 	 	 	
Wooden Kinesis Pipe 	 	Engine Overheat 	Set True if the connected engine is overheated 	 	 	
Wooden Fluid Pipe 	 	Contains < 25% 	Set True if the connected tank contains lesser than 25% fluid 	 	 	
Wooden Fluid Pipe 	 	Contains < 50% 	Set True if the connected tank contains lesser than 50% fluid 	 	 	
Wooden Fluid Pipe 	 	Contains < 75% 	Set True if the connected tank contains lesser than 75% fluid 	 	 	
Wooden Fluid Pipe 	 	Fluid in Tank 	Set True if the connected tanks contains fluid 	 	 	
Wooden Fluid Pipe 	 	Tank Empty 	Set True if the connected tank is empty 	 	 	
Wooden Fluid Pipe 	 	Tank Full 	Set True if the connected tank is full 	 	 	
Wooden Fluid Pipe 	 	Space for Fluid 	Set True if the connected tanks has space for an other fluid 	 	 	
Wooden Transport Pipe	 	Items in Inventory	Set True if the inventory of the connected energy consumer contains items	 	 	
Wooden Transport Pipe	 	Inventory Empty 	Set True if the inventory of the connected energy consumer is empty 	 	 	
Wooden Transport Pipe	 	Inventory Full 	Set True if the inventory of the connected energy consumer is full 	 	 	
Wooden Transport Pipe	 	Inventory Full 	Set True if the inventory of the connected energy consumer has space 	 	 	
=== Additional options for consumer, chests and tanks and all gates ===
Following gate options are additional available for pipe of the respective type (kinesis, fluid, transport), if they are connected to a consumer or storage:
	Left slot	Left slot 	Left slot 	Right slot	Right slot	Right slot
	Icon 	Text 	Explanation 	Icon 	Text 	Explanation
	 	High Energy Stored	Set True if the connected machine has much energy stored 	 	Loop 	The connected energy consumer works in a loop
	 	Low Energy Stored 	Set True if the connected machine has less energy stored 	 	Off 	Stops the connected energy consumer
	 	Items in Inventory	Set True if the inventory of the connected energy consumer contains items	 	On 	Activates the connected energy consumer
	 	Inventory Empty 	Set True if the inventory of the connected energy consumer is empty 	 	 	
	 	Inventory Full 	Set True if the inventory of the connected energy consumer is full 	 	 	
	 	Inventory Full 	Set True if the inventory of the connected energy consumer has space 	 	 	
	 	Work Done 	Set True if the connected energy consumer has done his work 	 	 	
	 	Has Work 	Set True if the connected energy consumer has work 	 	 	
	 	Contains < 25% 	Set True if the connected tank contains lesser than 25% fluid 	 	 	
	 	Contains < 50% 	Set True if the connected tank contains lesser than 50% fluid 	 	 	
	 	Contains < 75% 	Set True if the connected tank contains lesser than 75% fluid 	 	 	
	 	Fluid in Tank 	Set True if the connected tank contains fluid 	 	 	
	 	Tabk Empty 	Set True if the connected tank is empty 	 	 	
	 	Tank Full 	Set True if the connected tank is full 	 	 	
	 	Space for Fluid 	Set True if the connected tanks has space for an other fluid 	 	 	
	 	Items in Inventory	Set True if the inventory of the connected machine contains items 	 	Loop 	The connected machine works in a loop
	 	Inventory Empty 	Set True if the inventory of the connected machine is empty 	 	Off 	Stops the connected machine
	 	Inventory Full 	Set True if the inventory of the connected machine is full 	 	On 	Activates the connected machine
	 	Inventory Full 	Set True if the inventory of the connected machine has space 	 	Box 	Available if a Filler is connected
	 	Work Done 	Set True if the connected machine has done his work 	 	Clear 	Available if a Filler is connected
	 	Has Work 	Set True if the connected machine has work 	 	Cylinder 	Available if a Filler is connected
	 	 	 	 	Fill 	Available if a Filler is connected
	 	 	 	 	Flatten 	Available if a Filler is connected
	 	 	 	 	Frame 	Available if a Filler is connected
	 	 	 	 	Horizon 	Available if a Filler is connected
	 	 	 	 	Pyramid 	Available if a Filler is connected
	 	 	 	 	Stairs 	Available if a Filler is connected
=== Additional options for special pipes and all gates ===
Following gate options are additional available for specific pipes:
 	Left slot	Left slot	Left slot	Right slot	Right slot 	Right slot
 	 	 	 	Icon 	Text 	Explanation
Iron Kinesis Pipe 	 	 	 	 	20 RF/t Limit 	Set the energy transmission limit to 20 RF/t
Iron Kinesis Pipe 	 	 	 	 	40 RF/t Limit 	Set the energy transmission limit to 40 RF/t
Iron Kinesis Pipe 	 	 	 	 	80 RF/t Limit 	Set the energy transmission limit to 80 RF/t
Iron Kinesis Pipe 	 	 	 	 	160 RF/t Limit 	Set the energy transmission limit to 160 RF/t
Iron Kinesis Pipe 	 	 	 	 	320 RF/t Limit 	Set the energy transmission limit to 320 RF/t
Iron Kinesis Pipe 	 	 	 	 	640 RF/t Limit 	Set the energy transmission limit to 640 RF/t
Iron Kinesis Pipe 	 	 	 	 	1280 RF/t Limit 	Set the energy transmission limit to 1280 RF/t
Daizuli and Emzuli Transport Pipe	 	 	 	 	Paint Items 	Changes the color of the transported items
Stripes Transport Pipe 	 	 	 	 	Down Pipe Direction 	-
Stripes Transport Pipe 	 	 	 	 	East Pipe Direction 	-
Stripes Transport Pipe 	 	 	 	 	North Pipe Direction	-
Stripes Transport Pipe 	 	 	 	 	South Pipe Direction	-
Stripes Transport Pipe 	 	 	 	 	Up Pipe Direction 	-
Stripes Transport Pipe 	 	 	 	 	West Pipe Direction 	-
=== Additional options for pipe wire interaction and all gates ===
Following options are additional available for all types (kinesis, fluid, transport) if Pipe Wire is connected to the gate:
 	Left slot	Left slot 	Left slot 	Right slot	Right slot 	Right slot
 	Icon 	Text 	Explanation 	Icon 	Text 	Explanation
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal On 	Set True if the gate is receiving a signal through a red pipe wire 	 	Red Pipe Signal	Activates a red pipe wire signal
Kinesis, Fluid, Transport Pipes	 	Red Pipe Signal Off	Set True if a the gate is not receiving a signal through a red pipe wire	 	 	
The above options are also available for Blue, Green, and Yellow Pipe Wires if they are connected.
== BC 6.1.1 and below ==
OR gates and AND gates can be converted in the Crafting Table.
Category:BuildCraft