setTranslatedTitle("advancements.stage1.coal.title")

setIcon("minecraft:coal")

setTranslatedDescription("advancements.stage1.coal.description")

addParent("triumph:stage1/prospector")
setRequiresParents()

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

//Rewards
setRewardExperience(4)

visibleIf("triumph:stage1/root")