//Set icon item
setIcon(<harvestcraft:cuttingboarditem>)

//Set title String
setTitle("Cooking Utencils")

addParent("triumph:3cooking/root")

//Set description String
setDescription("This bakeware will unlock many paths to new foods! Make a pot, skillet, saucepan, bakeware, mortar and pestle, mixing bowl, juicer, and cutting board")
setRequiresParent(true)
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
//addParent("triumph:example/root")

//Set the position
setPos(50, 0)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<harvestcraft:potitem>);
criteria.addItem(<harvestcraft:skilletitem>);
criteria.addItem(<harvestcraft:saucepanitem>);
criteria.addItem(<harvestcraft:bakewareitem>);
criteria.addItem(<harvestcraft:mortarandpestleitem>);
criteria.addItem(<harvestcraft:mixingbowlitem>);
criteria.addItem(<harvestcraft:juiceritem>);
criteria.addItem(<harvestcraft:cuttingboarditem>);



