diff --git a/Minecraft-Classic-map-generation-algorithm.md b/Minecraft-Classic-map-generation-algorithm.md index 1941e16..0725c0e 100644 --- a/Minecraft-Classic-map-generation-algorithm.md +++ b/Minecraft-Classic-map-generation-algorithm.md @@ -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.