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

setIcon("twilightforest:tower_device", 12)

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

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

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("twilightforest:tower_device", 12)

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage2/root")