
//Set icon item
setIcon(<buildcraftbuilders:quarry>)

//Set title String
setTitle("Tekkit Vibes")

//Set description String
setDescription("Buildcraft Quarries are the next tier of automatic mining. It is recommended you power it with stirling engines or better from Buildcraft.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-254,-17)

//Rewards
setRewardExperience(4)