setTranslatedTitle("advancements.stage2.starpowder.title")

setIcon("astralsorcery:itemcraftingcomponent", 2)

setTranslatedDescription("advancements.stage2.starpowder.description")

addParent("triumph:stage2/dowsingrod")
setRequiresParents()

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("astralsorcery:itemcraftingcomponent", 2)

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage2/root")