setTranslatedTitle("advancements.stage4.machinecasing.title")

setIcon("teslacorelib:machine_case")

setTranslatedDescription("advancements.stage4.machinecasing.description")

addParent("triumph:stage4/printedcircuitboard")
setRequiresParents()

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

//Rewards
setRewardExperience(12)

visibleIf("triumph:stage4/root")