From 41e1124c04e552681cdaa6d0b426a6a6c115d3fa Mon Sep 17 00:00:00 2001 From: Holly Date: Sun, 20 Aug 2023 02:10:30 +0100 Subject: [PATCH] Flip the x and z on every other noise level --- server/generators/Hilly.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/generators/Hilly.ts b/server/generators/Hilly.ts index 164d64d..3e3c9e9 100644 --- a/server/generators/Hilly.ts +++ b/server/generators/Hilly.ts @@ -89,11 +89,11 @@ export class HillyGenerator implements IGenerator { const oceanValue = this.oceanGenerator((chunk.x * 16 + x) / 128, (chunk.z * 16 + z) / 128) * 100; orgColY = colWaterY = colY = 60 + this.fastRound(( this.generator((chunk.x * 16 + x) / 16, (chunk.z * 16 + z) / 16) * 16 + - this.generator1((chunk.x * 16 + x) / 16, (chunk.z * 16 + z) / 16) * 16 + + this.generator1((chunk.z * 16 + z) / 16, (chunk.x * 16 + x) / 16) * 16 + this.generator2((chunk.x * 16 + x) / 8, (chunk.z * 16 + z) / 8) * 8 + - this.generator3((chunk.x * 16 + x) / 4, (chunk.z * 16 + z) / 4) * 4 + + this.generator3((chunk.z * 16 + z) / 4, (chunk.x * 16 + x) / 4) * 4 + this.generator4((chunk.x * 16 + x) / 4, (chunk.z * 16 + z) / 4) * 4 + - this.generator5((chunk.x * 16 + x) / 10, (chunk.z * 16 + z) / 10) * 10 + + this.generator5((chunk.z * 16 + z) / 10, (chunk.x * 16 + x) / 10) * 10 + this.generator6((chunk.x * 16 + x) / 16, (chunk.z * 16 + z) / 16) * 16 + oceanValue + (Math.max(this.hillGenerator((chunk.x * 16 + x) / 128, (chunk.z * 16 + z) / 128), 0) * 50 + Math.min(oceanValue, 0))