Question about ore spawning mechanism

Uhh what you say sounds very very incorrect, Ore Layer WAVE?!? The Function you copied there is the one that places Stone and is only barely related to Ore Spawning, and is in NO WAY what I talked about when I said 6 Stone Layers, I said Layer as a noun for the Blob of Rock you get, not as a noun for the thing that lays Stone.

Didn’t you notice in Loader_Worldgen.java that each Type of Stone gets added 3 - 8 times to the List, so around 6 on average? Each of the aforementioned flat Bubbles in the Algorithm has ONE of these Listed Stone Layers, JUST ONE, it does not randomly pick a new one or whatever in the middle of generating. And that means it can generate a Stone Layer that just happens to NEVER have any Ores in it in a lot of cases, since those non-Ore Stone Layers are 3 to 8 times more numerous than the Ore containing ones!

And the close to Bedrock Statement is bogus too, Bedrock does not influence spawn rates by itself, because the Worldgenerator goes by which Stone Type WOULD be generated and not by which got actually generated, when selecting Ores.

As for the “only Layer 4 contains Ores” did you not look at what the thing actually does? it scans which 3 blocks are in front of and behind the currently generating Block, and then moves THE ENTIRE LIST one forward after placing the selected Block.

While what you say about it being stupid to dig horizontally is correct, and that you should always just go with surface Rocks, the explanation of how the Worldgen actually works is quite a bit misleading, and should not have been “marked as a Solution”.

2 Likes