
//Set icon item
setIcon(<minecraft:flint>)

//Set title String
setTitle("You probably already got this from mining")

//Set description String
setDescription("With flint, you will now be able to create the next tier of mesh for the sieve. Don't use up your old mesh forever though, each mesh has some exclusive recipes.")

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

//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")

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

drawDirectLines(true)

//Set the position
setPos(-95,70)

//Rewards
setRewardExperience(4)