setIcon(<thermaldynamics:servo>)

setTitle("Push, Pull and Filter")

setDescription("As said in Ducts Advancement, Ducts might need an help to get items / fluids from Containers.\nServos can be attached to a Duct and will get items or fluids out of the inventory attached and will send them through the Duct network. By default those need redstone to start pulling, but by right-clicking on it you open an Interface to change this on the top-right.\nRetrieves can be attached to a Duct and will do the opposite of Servos. This means if you need to pull items from lots of location, instead of making tons of Servos, just make a Retriever and put it at the arrival point.\nFilters can be attached to Duct and can be configured to let some item / liquids pass / not pass through it.\n\n§9Completition Requirement:\n§7Obtain either a Servo, a Retriever or a Filter")

addParent("jasb:machines/ducts")

hiddenUnless("jasb:machines/ducts")

criteria1 = addCriteria("servo", "minecraft:inventory_changed")
criteria1.addItem(<thermaldynamics:servo>)

criteria2 = addCriteria("retriever", "minecraft:inventory_changed")
criteria2.addItem(<thermaldynamics:retriever>)

criteria3 = addCriteria("filter", "minecraft:inventory_changed")
criteria3.addItem(<thermaldynamics:filter>)

setRequirements("any")

setPos(352,96)
drawDirectLines()