Tell me more ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

Wither Skeletons and Blazes can spawn naturally in Nether Fortresses but what technically defines what is a Nether Fortress? I could not find any information about it. It's not a technical biome it's just "Hell". Stated in this question's answer and the wiki it's not from the blocks either.

I'm not asking for what defines a Nether Fortress optically for the player but what defines it for the mob spawning process.

share|improve this question
1  
Perhaps it would be better to say "What determines where a Nether Fortress will spawn/be generated" – Origin Oct 28 '12 at 7:27
1  
But I'm not interested where it get's generated. This could be pseudo random with the seed and is a one time thing but the spawning algorithm runs the whole time. There must be some thing it checks and knows "ok it's a fortress! let's spawn a wither skeleton" – Mose Oct 28 '12 at 7:35

3 Answers

up vote 9 down vote accepted

Mobs don't just spawn anywhere in a Nether Fortress, but in particular sections of it. And even if you replace all the blocks of a Fortress, the same regions will still spawn Wither Skeletons.

This video explains this:

And this one shows it graphically:

share|improve this answer
2  
A text answer would have been much better... – Lohoris Feb 10 at 20:42
@Lohoris Actually, it wouldn't. – BlaXpirit Feb 10 at 21:24
12  
Of course it would, this site has to be informative for users, and often you don't have the time to watch a full video: reading text would be much faster. BTW videos can become broken links with 0 value, while text is forever. – Lohoris Feb 10 at 21:44
1  
@BlaXpirit I'm with Lohoris on this one. It's better to explain the content in the videos. Arqade frowns upon just placing links in your answer and leaving it be. Explaining it tells us what we want to know without having to watch your two seperate youtube videos. – Retrosaur Feb 10 at 22:07

According to the decompiled sources, Minecraft stores the location and volume of generated structures such as villages and Nether fortresses in a separate data structure to the actual blocks that we see in the game. Part of this data structure is a list of mobs that can spawn in that volume of blocks.

Each Structure is composed of Structure Pieces, and each Structure Piece has its own bounding box and mob list. A single Piece can spawn multiple other Pieces adjacently if the type of structure allows it, so one Nether bridge can trigger the placement of another bridge span, or a Blaze spawn platform, or a room, or a tower, etcetera. This is what creates the sprawl of "one" Nether fortress – what we think of as a Nether fortress is really a bunch of independent Structure Pieces that happen to be side-by-side. You can see that in the second video of BlaXpirit's answer, where each red-lined box is a different Structure Piece placed by the structure generator. Each of those bounding boxes are sized to fully encompass all blocks placed by that one Piece's block generator.

For the purpose of spawning Wither Skeletons, all locations in a Nether fortress can spawn them, assuming that spot is a valid spawn location for a mob pack in the first place. It's not "some locations" at all, but every single block, including air, that is within any Nether Fortress Structure Piece bounding box. The code works like this:

  1. The spawning algorithm selects a single X,Y,Z coordinate to check.
  2. If it's a valid spawn location according to light levels and solidity, it will spawn a mob there.
  3. To figure out what mob to spawn, it queries the world data structure to find out if that coordinate is inside a Structure.
  4. The world data structure finds all Structures that claim blocks in that chunk and then ask them if the coordinate is within one of their bounding boxes. (Structure bounding boxes don't overlap.)
  5. We'll say the spot is confirmed to be inside a Nether fortress Structure Piece bounding box. The bounding box is a rectangular volume that encompasses the Piece. Nether fortress pieces are usually made of straight sections of blocks, making it unlikely for the bounding box to contain much outside the walls, but it's possible. This means that the spawn coordinate can actually be outside the walls of the fortress in unusual block layouts, especially if the fortress has been changed.
  6. The spawning algorithm then asks the Structure Piece for its mob list. Nether fortress Pieces' list is Blazes, Magma Cubes, Skeletons, and Zombie Pigmen. We'll say it picks Skeleton.
  7. The spawning algorithm places a mob pack on that coordinate. Because packs spawn multiple individual mobs in a radius from the pack coordinate, this can actually place the mob outside of the walls of a fortress, if there is valid ground there.
  8. Placing a Skeleton in the Nether triggers a check: 80% of the time it will be a Wither Skeleton, otherwise a normal Skeleton.

Consequently, Wither Skeletons can spawn everywhere inside of a Nether fortress that is a legal spawn location for mobs, and can sometimes spawn on blocks slightly outside of the volume claimed by the Nether fortress' Pieces. The region is fixed and unchangeable after the fortress is generated. One implication is that you could maximise Wither Skeleton spawning by adding more layers of blocks within the Piece's volume, to convert more air spaces into legal spawning pads.

share|improve this answer

I found this from the Minecraft wiki in a matter of minutes:

Nether Fortresses are very large complexes made mainly of Nether Bricks. Nether Fortresses can often tunnel through Netherrack, and the inside of the tunnels will be cleared of Netherrack by the terrain generator. However, at broken bridge sections, the terrain is not cleared, which may create a tunnel that leads straight into a flat wall of Netherrack. Their main structure takes a shape of bridges with supporting pillars outside and corridors inside, both which have 3-blocks wide walking space. The bridges can be broken at the end. The interior of the structures have 1x2 windows with Nether Brick Fences as the windowpanes. The fences also form gate-like structures at the entrances of some rooms and corridors. The rooms include: - Lava well rooms - Rooms with Nether Brick Stairs in the center and Soul Sand at sides of the stairway containing 2 2x5 rows of Nether Wart growing on it. Rooms with Blaze spawners. Nether Brick Stairs can lead up to them. The rooms have Nether Brick Fences. There are normally 2 spawners per fortress Rooms with four exits. Some of them could lead only to Netherrack. Rooms with a "stairway" of Nether Brick placed against a wall, leading up to the floor above.

share|improve this answer
3  
Sorry, but maybe my question is not clear enought. I'm searching for what technically (for the spawning algorythm) defines a NF. Added this to my question to make it more clear – Mose Oct 28 '12 at 7:13
3  
why is this answer being voted down, when it clearly answers the question pre-edited. Its not Retrosaur's fault the question was mis-spoken. – Ender Oct 29 '12 at 14:56
1  
My bad, I didn't realize you meant something about Nether Fortresses. It's my fault for not reading it correctly :( – Retrosaur Oct 30 '12 at 12:23
1  
@Ender it might be the answer to the question pre-edited, but with the current question is still wrong. It could (and should) be deleted. Keeping it here provides a negative value for users, so it gets voted down. Easy. – Lohoris Feb 10 at 20:39
3  
The question is clear now, and your answer clearly does not answer that question. The fact that your answer could have plausibly answered the question as it was originally written does not make it correct/helpful/useful now. – murgatroid99 Feb 10 at 23:49
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.