setTitle("Distillation")

setIcon("forge:bucketfilled", 0, {FluidName:"naphtha",Amount:1000})

setDescription("Now that you have extracted Oil, build an Immersive Petroleum Distillation Tower to process Oil into Naphtha and Diesel and grab a bucket of each to complete the advancement")

setParent("triumph:stage3/crudeoil")
setRequiresParent(true)

setFrameType("Goal")

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

//Criteria
criteria = addCriteria("hasRock", "minecraft:inventory_changed")
criteria.addItem("forge:bucketfilled", 0, {FluidName:"naphtha",Amount:1000})

//Rewards
setRewardExperience(8)