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

setIcon("tconstruct:cast_custom", 1)

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

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

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("tconstruct:cast_custom", 1)

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage2/root")