
//Set icon item
setIcon(<botania:storage:0>)

//Set title String
setTitle("Metal from Flower Magic")

//Set description String
setDescription("You've begun your study of the botanical arts and have managed to create blocks of the new metal manasteel (or you just found a bunch in the dungeons).")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasManasteelBlock", "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:storage:0>)

drawDirectLines(true)

//Set the position
setPos(-316,-36)

//Rewards
setRewardExperience(4)