
//Set the icon item
setIcon(<elementalend:ender_eye>)

//Set the title String
setTitle("The End?")

//Set the description String
setDescription("Create the Guiding Eye using a ghast tear and an ender pearl. Locate the End")

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

//Set the position
setPos(57,17)

//Hide the connection lines, so I can have a pretty shape
hideLines()

setAnnounceToChat(false)

criteria = addCriteria("in_stronghold", "minecraft:location")
criteria.setFeature("Stronghold")