
//Set icon item
setIcon(<inspirations:materials:5>)

//Set title String
setTitle("Automatic Food?")

//Set description String
setDescription("Mushroom, rabbit, and beetroot stew can all be made in a cauldron. Simply right click <or drop> double the amount of the proper ingredients into a water filled cauldron above fire. <mushroom and rabbit stew will require some pre-crafting>.")

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

//Set the position
//setPos(80,65)

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<inspirations:materials:4>)
criteria2.addItem(<inspirations:materials:5>)

setRequirements("any")
setPos(-85,95)