
//Set icon item
setIcon(<railcraft:ore_metal:5>)

//Set title String
setTitle("Mine some Zinc")

//Set description String
setDescription("Mine some zinc ore to start getting zinc ingots. If you can actually find one of these I'll be genuinely impressed because they spawn super infrequently from some reason. If not, you'll get some from the sieve and the ore block from a Quantum Quarry (I assume).")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-218,48)

//Rewards
setRewardExperience(4)