summaryrefslogtreecommitdiff
path: root/common/darkknight/jewelrycraft/worldGen/Generation.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-26 00:50:16 +0200
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2013-12-26 00:50:16 +0200
commit1a3455b24d90b0def912c28467cbc51662d660e0 (patch)
tree90232ffe1b1a52ab43594b438cfac44ad3c0b60e /common/darkknight/jewelrycraft/worldGen/Generation.java
parent1997f4547812121223836dcacfcb31ea63acdda6 (diff)
Major changes. Thanks domi for helping me with the chest linking ring :)
Diffstat (limited to 'common/darkknight/jewelrycraft/worldGen/Generation.java')
-rw-r--r--common/darkknight/jewelrycraft/worldGen/Generation.java6
1 files changed, 3 insertions, 3 deletions
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);
}
}