
//This is a root advancement. It is the base advancement for a page. As such, it has no parent and has to set a background.

//Set icon item
setIcon(<tconstruct:smeltery_controller>)

//Set title String
setTitle("Pre Automation")

//Set description String
setDescription("Setup basic automation on the way to machinery")

//Set background String. This is a path to any texture in a resource pack, so you can set it to fun things.
setBackground("minecraft:textures/gui/advancements/backgrounds/adventure.png")

//Set the advancement to not send a chat message when it is achieved.
visibleIf("triumph:stage_zero/get_seared")

//Set the position
setPos(-30,0)

//Adds a single location criteria. Since this has nothing specific set, it will be completed the instant the player is added to the world, thus unlocking the page instantly.
addCriteria("location", "minecraft:location")