
//Set icon item
setIcon(<buildcrafttransport:pipe_wood_item>)

//Set title String
setTitle("Item Extraction")

//Set description String
setDescription("Wooden Transport Pipes are pipes that specialize in extracting items from an inventory. They require some form of buildcraft power to operate, and extract facter with more power.")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:islandparadisepart2/transportpipestone")

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasWoodenTransportPipe", "minecraft:inventory_changed")

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<buildcrafttransport:pipe_wood_item>)

drawDirectLines(true)

//Set the position
setPos(-206,96)

//Rewards
setRewardExperience(4)