In my experience with generating new worlds and finding the stronghold is close, they've almost always been in a swamp biome. Is this intentional, a bug, or just a coincidence?
Minecraft – Are Strongholds more common in Swamp Biomes
minecraft-java-edition
Related Topic
- Minecraft – How dangerous are windows
- Minecraft – How to change where strongholds spawn
- Minecraft – Can jungle biomes occur with small custom biome size
- Minecraft Java Edition – How to Restrict Biomes in a Custom World
- Minecraft Java Edition – How Often Are End Portal Rooms Inaccessible
- Minecraft – Corrupted Textures
- Minecraft – Do diamonds spawn less in the mountains and extreme hills biomes
Best Answer
Well, according to the wiki article, it's totally random:
This wasn't enough to definitively conclude anything, though, so I decided to look into the source code. Here's a snippet:
That code determines the allowed biomes for a stronghold. You'll notice that it includes a great variety of biomes. (This code is from 1.1, so jungle isn't in there, but it probably is in 1.2.3.)
The rest of the code is fairly uneventful, and includes no biasing or weighting to a certain biome. So no, swamps have the same probability as any other biome to generate a stronghold.