//Set icon item
setIcon("extrautils2:passivegenerator")

//Set title String
setTitle("Craft a Solar Panel")

//Set description String
setDescription("Generator your first Grid Power")

//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:engineer/engineer_aa_gen")

criteria = addCriteria("exusolar", "minecraft:inventory_changed")
criteria.addItem("extrautils2:passivegenerator")



//Sets the requirements to be any. This means that if ANY of the criteria triggers is acquired, the advancement is acquired.
setRequirements("any")

setRewardExperience(250)