

//Set icon item
setIcon(<thebetweenlands:swamp_talisman>)

//Set title String
setTitle("The swamp dimension")

//Set description String
setDescription("Enter the Betweenlands")

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

addRewardFunction("triumph:betweenlands_gamestage")

//Set the position
setPos(162,75)

//Hide the connection lines, so I can have a pretty shape
//hideLines()
criteria = addCriteria("entered_betweenlands", "minecraft:changed_dimension")
criteria.setDimensionDestination("betweenlands")

//These are trigger advancements and will always remain hidden
alwaysHidden()