
//Set icon item
setIcon(<mysticalagriculture:tier1_inferium_seeds>)

//Set title String
setTitle("Having an Inferium Shortage?")

//Set description String
setDescription("Inferium Seeds are a good method of increasing your inferium essence supply. Note that in order to get more of any of these seeds, you will need to craft them.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-254,-20)

//Rewards
setRewardExperience(4)