
//Set icon item
setIcon(<immersiveengineering:ore:4>)

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

//Set description String
setDescription("Mine some nickel ore to start getting nickel ingots. At this point, you've likley fallen into the void at least once.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(20,156)

//Rewards
setRewardExperience(4)