Cave pumpkin

This commit is contained in:
paulevsGitch 2021-03-20 06:13:11 +03:00
parent 72113034ea
commit 3dcafa522c
40 changed files with 474 additions and 49 deletions

View file

@ -11,7 +11,7 @@ public class TerrainGenerator {
private static final ReentrantLock LOCKER = new ReentrantLock();
private static final double SCALE_XZ = 8.0;
private static final double SCALE_Y = 4.0;
private static final int CENTER = MHelper.floor(500 / SCALE_XZ);
//private static final int CENTER = MHelper.floor(500 / SCALE_XZ);
private static IslandLayer largeIslands;
private static IslandLayer mediumIslands;
@ -20,7 +20,7 @@ public class TerrainGenerator {
private static OpenSimplexNoise noise2;
public static boolean canGenerate(int x, int z) {
return GeneratorOptions.noRingVoid() || (long) x + (long) z > CENTER;
return GeneratorOptions.noRingVoid()/* || (long) x + (long) z > CENTER*/;
}
public static void initNoise(long seed) {