Minecraft wiki entry for Mud, associated text: Mud generates in the mangrove swamp biome, and it can also be obtained by using a water bottle on dirt, coarse dirt, and rooted dirt, transforming it into a mud block.