setTranslatedTitle("advancements.stage5.emerald.title")

setIcon("minecraft:emerald", 0)

setTranslatedDescription("advancements.stage5.emerald.description")

addParent("triumph:stage5/prospectorstage5")
setRequiresParents()

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

//Rewards
setRewardExperience(15)

visibleIf("triumph:stage5/root")