diff --git a/Minecraft-Classic-map-generation-algorithm.md b/Minecraft-Classic-map-generation-algorithm.md index ccb4b2a..df6f305 100644 --- a/Minecraft-Classic-map-generation-algorithm.md +++ b/Minecraft-Classic-map-generation-algorithm.md @@ -52,13 +52,13 @@ Let heightLow be noise1.compute( x*1.3, z*1.3) / 6 - 4 Let heightHigh be noise2.compute( x*1.3, z*1.3) / 5 + 6 if noise3.compute(x,z) /8 > 0 { -set heightResult to heightLow + set heightResult to heightLow } else { -set heightResult to the maximum of heightLow and heightHigh + set heightResult to the maximum of heightLow and heightHigh } if heightResult < 0 { -set heightResult to 8/10 its value + set heightResult to 8/10 its value } heightMap(x,z) is then set to the integer component of heightResult.