Swamp is a low-lying Overworld wetland with shallow water, vine-covered oaks and blue orchids. Java uses the biome ID minecraft:swamp, while Bedrock uses minecraft:swampland.
Java's default Overworld generator selects Swamp in inland areas within its high-erosion band and middle climate ranges. It selects Mangrove Swamp in warmer ranges of the same terrain band. Bedrock uses swamp terrain and a dedicated swamp surface builder. Its 1.21.100 release added one-block-deep puddles to both swamp biomes.
Blue orchids grow on land, vines hang from oak trees, and lily pads float on the water. Seagrass can grow below the surface, and sugar cane can grow along the banks.
Swamp huts and abandoned camps are separate structures. Java's swamp hut tag selects ordinary Swamp, and Mojang's hut guide identifies ordinary swamps as the habitat for these stilted buildings. The Wilderness Bound release notes independently list the Swamp abandoned camp in both editions. Java gives the camp its own biome tag, and Bedrock marks Swamp with its abandoned-camp tag. Camps can contain loot in chests or barrels.
Frogs, slimes and bogged can spawn naturally here in both editions. Java lists frogs in its creature pool and includes Swamp in the surface-slime biome group. Surface slime spawning is affected by the phase of the Moon. Bedrock's published frog, slime and bogged rules each accept the swamp tag, with each mob subject to its own spawn conditions.
Java's natural monster pool includes witches. A swamp hut's resident witch and cat are structure encounters, separate from the biome's natural spawn pool.
Both editions use a raw base temperature of 0.8 and allow precipitation. Java enables it with an explicit biome flag, while Bedrock sets a positive downfall value. Bedrock can also generate occasional huge mushrooms in ordinary swamps.