
//Set icon item
setIcon(<exnihilocreatio:hammer_iron>)

//Set title String
setTitle("Sieving more things")

//Set description String
setDescription("Create an iron hammer to break cobblestone/gravel/sand faster.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-16,65)

//Rewards
setRewardExperience(4)