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

setIcon("immersiveengineering:wooden_device1", 1)

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

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

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

//Rewards
setRewardExperience(8)

visibleIf("triumph:stage3/root")