Flux is a powder material used for metallurgy, limewater, and mortar. Flux can be obtained by combining a hammer and a rock of chalk, dolomite, marble, or limestone, in the crafting grid.
Flux is necessary to weld metals as well as for processing iron ore.
Mortar is required to combine bricks into brick blocks. It is made by combining flux, sand, and a bucket of water.