From 26b977a60a25f5ac8935e62b996cf4136bc0b5cf Mon Sep 17 00:00:00 2001 From: LemADEC Date: Sun, 31 Jan 2016 22:57:18 +0100 Subject: [PATCH] Reduced moon & asteroid fields spawn rate --- src/main/java/cr0s/warpdrive/world/SpaceWorldGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cr0s/warpdrive/world/SpaceWorldGenerator.java b/src/main/java/cr0s/warpdrive/world/SpaceWorldGenerator.java index c96fc48f..ec595eca 100644 --- a/src/main/java/cr0s/warpdrive/world/SpaceWorldGenerator.java +++ b/src/main/java/cr0s/warpdrive/world/SpaceWorldGenerator.java @@ -42,7 +42,7 @@ public class SpaceWorldGenerator implements IWorldGenerator { } int y = WarpDriveConfig.SPACE_GENERATOR_Y_MIN_CENTER + random.nextInt(WarpDriveConfig.SPACE_GENERATOR_Y_MAX_CENTER - WarpDriveConfig.SPACE_GENERATOR_Y_MIN_CENTER); // Moon setup - if (random.nextInt(700) == 1) { + if (random.nextInt(800) == 1) { AbstractStructure moon = StructureManager.getStructure(world.rand, StructureManager.GROUP_MOONS, null); moon.generate(world, world.rand, x, y, z); @@ -52,7 +52,7 @@ public class SpaceWorldGenerator implements IWorldGenerator { moon.generate(world, world.rand, x, y, z); // Random asteroid of block - } else if (random.nextInt(500) == 1) {// Asteroid field + } else if (random.nextInt(600) == 1) {// Asteroid field generateAsteroidField(world, x, y, z); }