
//Set icon item
setIcon(<astralsorcery:blockwell>)

//Set title String
setTitle("Magical Fluids")

//Set description String
setDescription("The Light Well is a block that can create various liquids depending upon what item is placed within it such as liquid starlight.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasLightWell", "minecraft:inventory_changed")

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<astralsorcery:blockwell>)

drawDirectLines(true)

//Set the position
setPos(-235,163)

//Rewards
setRewardExperience(4)