
The strongholds are generated at roughly equal angles from the center point of the world (for instance, each stronghold in a ring of 3 is in the region of 120 degrees from the others, measured from the origin). In Java Edition, all strongholds are located at random coordinates within rings in most biomes, where each ring is a certain radius from the center of the world (X=0, Z=0). Stronghold layout through the world in Java Edition. Because Bedrock Edition appears to begin stronghold generation at a spiraling staircase, it is rare to find no portal room in the stronghold. There appears to be an infinite amount of strongholds, even capable of generating in the Far Lands. If it has to, a stronghold could generate perfectly fine above ground, in caves, and in canyons. They appear to have no fixed set distance, unlike most structures, which means that rarely, they can overlap. In Bedrock Edition, strongholds generate randomly throughout the world. Most parts of the stronghold can be overwritten by caves, mineshafts, fossils or dungeons but it is rare for the end portal to be replaced, which would force a player to find one of the other strongholds, as a portal can be activated only with all 12 frame blocks present. Strongholds may generate at bedrock level, cutting the bedrock. Strongholds mostly generate underground and prefer to generate in biomes above sea level but generate underwater if necessary. For locating strongholds, see Eye of Ender § Locating strongholds. This article is about the generation mechanics.
