
//Set icon item
setIcon(<buildcraftfactory:autoworkbench_item>)

//Set title String
setTitle("No Labor Needed")

//Set description String
setDescription("The Auto Work Bench is a machine that will craft an item according to the recipe set in the interface and when provided with the appropriate materials. It can be sped up with buildcraft engines.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-207,-17)

//Rewards
setRewardExperience(4)