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

setIcon("galacticraftcore:machine", 12)

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

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

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

//Rewards
setRewardExperience(12)

visibleIf("triumph:stage4/root")