setTranslatedTitle("advancements.stage3.modularmachinery.title")

setIcon("modularmachinery:blockcontroller")

setTranslatedDescription("advancements.stage3.modularmachinery.description")

addParent("triumph:stage3/circuitboard")
setRequiresParents()

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("modularmachinery:blockcontroller")

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage3/root")