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

//Set title String
setTitle("Harvesting Ore")

//Set description String
setDescription("Harvest 6 Iron and 6 Coal")

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

//Set the position
setPos(-434,-2)

//Hide the connection lines, so I can have a pretty shape
//hideLines()

criteria = addCriteria("Harvested 6 Coal", "triumph:player_harvest_block")
criteria.setBlock(<minecraft:coal_ore>)
criteria.setCount(6)

criteria = addCriteria("Harvested 6 Iron", "triumph:player_harvest_block")
criteria.setBlock(<minecraft:iron_ore>)
criteria.setCount(6)

setRequirements("all")