setTranslatedTitle("advancements.stage0.firstchest.title")

setIcon("immcraft:chest")

setTranslatedDescription("advancements.stage0.firstchest.description")

addParent("triumph:stage0/workstump")
setRequiresParents()

setFrameType("Goal")

setRequirements("any")

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

//Criteria
criteria1 = addCriteria("hasRock", "minecraft:inventory_changed")
criteria1.setItem("immcraft:chest")

criteria2 = addCriteria("hasRock2", "minecraft:inventory_changed")
criteria2.setItem("immcraft:cupboard")

criteria3 = addCriteria("hasRock3", "minecraft:inventory_changed")
criteria3.setItem("immcraft:shelf")

criteria4 = addCriteria("hasRock4", "minecraft:inventory_changed")
criteria4.setItem("immcraft:bookshelf")

//Rewards
setRewardExperience(4)

visibleIf("triumph:stage0/root")