
//Set icon item
setIcon(<thaumcraft:lamp_growth>)

//Set title String
setTitle("Magic Bonemeal")

//Set description String
setDescription("Lamps of Growth will increase the growth speed of nearby crops when provided with the correct essentia.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-541,129)

//Rewards
setRewardExperience(4)