# Talk:Stronghold

Jump to: navigation, search
Archives

## Uncovered Stronghold

Whoever took those pics of the stronghold in the air, could you spare me the map? I want to study the layout of the different Stronghold rooms for the Stronghold Blueprints project. Oh, and for inspiration for my Stronghold-themed multi-floor labyrinth project. EDIT: With the walls! Putting a Stronghold in the air via superflat has no walls, and looks just... so ugly, plus it won't help. Crazytobuildmc (talk) 17:57, 16 February 2015 (UTC)

Those pictures were likely taken using superflat. You can easily generate your own world like that. KnightMiner (t·c) 19:34, 16 February 2015 (UTC)

## Library loot

Are you sure that it is possible to find chests which contain five enchanted books on a stack? Enchanted books aren't stackable, are they? | violine1101(Talk) 14:18, 10 March 2015 (UTC)

Oh, I just read the annotation above the table, I didn't see it. Alright, I got it. | violine1101(Talk) 14:24, 10 March 2015 (UTC)

## Error in upcoming Stronghold generation

"strongholds has increased to 128 per world. They generate in rings with the strongholds evenly spaced around the circle until the total of 128 is reached" is incorrect, but the error might in Minecraft's code rather than the wiki description - the wiki description sounds like what Mojang intended to happen.

Which each new Stronghold, it's angular position is determined like this:

```   angle += 2π * ringNumber / structuresPerRing;
```

Which means everything works normally on the first ring (ringNumber starts at 1), but on the second ring it goes around the circle twice, placing two strongholds at each position on the circle, on the third ring it places 3 strongholds together, etc. Due to the way distance is randomised the stronghold clumps tend to be arrange in lines.

Diagram of stronghold positions for seed 2: http://i.imgur.com/x9OrkhL.png

You can see that ring 3 is working how Mojang probably intended, because the ring number doesn't divide evenly into the number of structures for that ring, so they don't end up overlapping. The number of structures is slightly random, so for seed 2 (diagram above), ring 1 has 3 structures, ring 2 has 6 structures, 3 has 13 structures and 4 has 28 structures.

I've reported this as a bug, but I don't know whether "strongholds aren't generated the way I think they should be" will be taken seriously as a bug report. DrFrankenstone (talk) 03:54, 7 November 2015 (UTC)

Sounds like a bug to me. The distance from the origin should be multiplied by ringNumber, but the angle between strongholds should only depend on how many are in the ring. -- Orthotopetalk 04:19, 7 November 2015 (UTC)

## Strongholds under villages

SamGamgee55, I'm curious why you removed the fact that strongholds may spawn under villages as "false info." Back in 2014, Jeb tweeted that strongholds spawn under villages in MCPE 0.9.0, and that's always been the case until the recent 1.0 update; I'm not enitrely convinced that this isn't still the case to some degree in the recent beta, as the math for `StrongholdFeature::generatePositions` in the new beta is the same as the math for `StrongholdFeature::isFeatureChunk` from the old version. Eitherway This information is still useful as older worlds generated in past versions will still have strongholds under villages in chunks that were generated by the old version. Jocopa3 (talk) 02:12, 22 November 2016 (UTC)

As you've been able to find an official source for that, then I'd say re-add it with a reference to that tweet. If this has changed in Pocket Edition 1.0, then include a `{{upcoming|until=Pocket 1.0}}`, and include an update in the History. Then once 1.0 is officially released, this would need removing from the main article body, but kept in the History. – DelboyDylan (talk|contribs) 08:19, 22 November 2016 (UTC)
Ok, I'll do that now; didn't know how to put up the "until 1.0" template. I am very sorry.
--SamGamgee55 (talk) 16:47, 22 November 2016 (UTC)SamGamgee55

## Exact formula?

Can someone include the exact formula minecraft uses for determining the location of strongholds? All I can find is "just throw 2 ender pearls and..." --99.190.124.167 21:53, 4 April 2017 (UTC)

There's not an exact formula, they generate randomly at certain distances around the origin. If you see Stronghold#Generation, it tells you all about it. – Sealbudsman 22:11, 4 April 2017 (UTC)