From 1a3455b24d90b0def912c28467cbc51662d660e0 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Thu, 26 Dec 2013 00:50:16 +0200 Subject: Major changes. Thanks domi for helping me with the chest linking ring :) --- common/darkknight/jewelrycraft/worldGen/Generation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/darkknight/jewelrycraft/worldGen/Generation.java') diff --git a/common/darkknight/jewelrycraft/worldGen/Generation.java b/common/darkknight/jewelrycraft/worldGen/Generation.java index 64a33d4..9444e6a 100644 --- a/common/darkknight/jewelrycraft/worldGen/Generation.java +++ b/common/darkknight/jewelrycraft/worldGen/Generation.java @@ -5,7 +5,7 @@ import java.util.Random; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import cpw.mods.fml.common.IWorldGenerator; -import darkknight.jewelrycraft.config.ConfigHandler; +import darkknight.jewelrycraft.block.BlockList; public class Generation implements IWorldGenerator { @@ -31,12 +31,12 @@ public class Generation implements IWorldGenerator private void generateSurface(World world, Random random, int i, int j) { - for (int k = 1; k < 4; k++) + for (int k = 0; k < 1; k++) { int x = i + random.nextInt(16); int y = 5 + random.nextInt(4); int z = j + random.nextInt(16); - world.setBlock(x, y, z, ConfigHandler.idShadowOre); + if(world.rand.nextInt(10) == 0) world.setBlock(x, y, z, BlockList.shadowOre.blockID); } } -- cgit v1.2.3