
//Set icon item
setIcon(<tconstruct:materials>)

//Set title String
setTitle("Get seared bricks")

//Set description String
setDescription("Get seared bricks by smelting grout and create a smeltery")
setFrameType("goal")

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

//Set the position
setPos(348,63)

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

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