(https://imgur.com/a/dvmXsFw) number of underground lava sources is width x height x depth / 20000, not width x depth / 20000

simon_34545 2022-05-10 15:52:41 -07:00
parent 15e12111a3
commit 570e0bcac4

@ -208,7 +208,7 @@ For each water source a random x and z coordinate value is chosen and the y coor
## Flood-fill lava
The lowest layer of the block array is always lava, having been set so during strata generation. A few lava flooded caves might form. Only width x depth / 20,000 lava sources will be seeded.
The lowest layer of the block array is always lava, having been set so during strata generation. A few lava flooded caves might form. Only width x height x depth / 20,000 lava sources will be seeded.
For each lava source a random x and z coordinate value is chosen and the y coordinate is set to (water level - 3) x randomFloat() x randomFloat(). If the position is AIR then lava is flood-filled from that point.