From 67bf739960a57ebc44e8e6f3eb6484e2b362d4bb Mon Sep 17 00:00:00 2001 From: Alex Mulkerrin Date: Wed, 2 Dec 2015 16:58:34 +0000 Subject: [PATCH] Updated Minecraft Classic map generation algorithm (markdown) --- Minecraft-Classic-map-generation-algorithm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.