This would work like the Fluid to Fluid recipes, except that the output is a solid block that replaces the fluid. For example, I throw dirt into water and the water is replaced with mud, which is a solid block.