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

setIcon("betterwithmods:single_machine", 2)

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

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

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.setItem("betterwithmods:single_machine", 2)

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage3/root")