
//Set icon item
setIcon(<botania:flowerbag>)

//Set title String
setTitle("MORE Manly Flower Picking")

//Set description String
setDescription("The Flower Pouch is designed to hold the mystical flowers you find around the world.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-157,60)

//Rewards
setRewardExperience(4)