
//Set icon item
setIcon(<abyssalcraft:abyssalsandglass>)

//Set title String
setTitle("Into the Abyss")

//Set description String
setDescription("Enter the Abyssal Wasteland, full of danger and resources")

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

//Set the position
setPos(30,95)

//Adds criteria named "entered_nether" with the trigger type "minecraft:location". This function returns the criteria as an object
criteria = addCriteria("entered_wasteland", "minecraft:location")

//Sets the required dimension id for the criteria. This is the dimension the player must be in.
criteria.setDimID(50)