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

setIcon("immersiveengineering:metal_device1", 7)

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

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

setFrameType("Goal")

setUncompletedIconColor(8947848)
setCompletedIconColor(6570404)
setUncompletedTitleColor(8947848)
setCompletedTitleColor(6570404)

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("immersiveengineering:metal_device1", 7)

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage3/root")