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

setIcon("bloodmagic:altar")

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

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

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

//Rewards
setRewardExperience(8)
setRewardItem("guideapi:bloodmagic-guide", 0, 1)

visibleIf("triumph:stage1/root")