setTitle("Hot and Steamy")

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

setDescription("Using the Immersive Tech Boiler or Solar Tower, produce and grab a bucket of Steam to complete the advancement")

setParent("triumph:stage3/naphtha")
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: "steam", Amount: 1000})

//Rewards
setRewardExperience(8)