//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(<projecte:transmutation_table>)


//Set title String
setTitle("Powerful Items")

//Set description String
setDescription("Where balance breaks")
setRequiresParent(true)


//criteria = addCriteria("completedStage0", "triumph:completed_advancement")
//criteria.setString("triumph:stage0/melter")


//Set background String. This is a path to any texture in a resource pack, so you can set it to fun things.
//setBackground("avaritia:textures/blocks/resource/infinity.png")
//setBackground("avaritia:textures/blocks/resource/crystal_matrix.png")
setBackground("projecte:textures/blocks/fuels_2.png")

//Set the toast notification in the top right corner of the screen to not show up when this advancement is achieved.
setShowToast(false)

//Set the advancement to not send a chat message when it is achieved.
setAnnounceToChat(false)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

//Set the position
setPos(6,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")

setCompletedIconColor(120, 10, 120)