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

setIcon("astralsorcery:itemrockcrystalsimple", 0)

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

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

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

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage2/root")