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

setIcon("minecraft:glass")

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

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

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("minecraft:glass")

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage2/root")