
//Set icon item
setIcon(<cookingforblockheads:cooking_table>)

//Set title String
setTitle("The Multiblock Kitchen")

//Set description String
setDescription("Tired of having to manually craft your complex recipes? The Multiblock Kitchen Blocks from Cooking for Blockheads are here to help!")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-247,61)

//Rewards
setRewardExperience(4)