//Set icon item
setIcon(<tconstruct:pick_head, ore:partPickHead, meta:0, count:1, nbt:{Material:"bronze"}>)

//Set title String
setTitle("Mining Level: Bronze")

addParent("triumph:4toolprogression/redstone")

//Set description String
setDescription("Make a bronze pickaxe to upgrade your mining level further")
setRequiresParent(true)
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
//addParent("triumph:example/root")

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

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<tconstruct:pick_head, ore:partPickHead, meta:0, count:1, nbt:{Material:"bronze"}>);
//criteria.addItem(<ore:cobblestone>);
//setRewardFunction("triumph:tool_five")
setRewardFunction("triumph:prestige5points")

setRequirements("any")