summaryrefslogtreecommitdiff
path: root/common/darkknight/jewelrycraft/worldGen/Generation.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2014-03-08 22:16:06 +0200
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2014-03-08 22:16:06 +0200
commit3e0556ee7aadfbb7695f87063662a9ca0d28175f (patch)
tree3a5ab57ce1e64e002fc22e16e91ae62a573d5f45 /common/darkknight/jewelrycraft/worldGen/Generation.java
parent05b5b13256c420568d1f07ed634dfd47509d53f2 (diff)
Lots of new things
Diffstat (limited to 'common/darkknight/jewelrycraft/worldGen/Generation.java')
-rw-r--r--common/darkknight/jewelrycraft/worldGen/Generation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/darkknight/jewelrycraft/worldGen/Generation.java b/common/darkknight/jewelrycraft/worldGen/Generation.java
index 9444e6a..32da73d 100644
--- a/common/darkknight/jewelrycraft/worldGen/Generation.java
+++ b/common/darkknight/jewelrycraft/worldGen/Generation.java
@@ -36,7 +36,8 @@ public class Generation implements IWorldGenerator
int x = i + random.nextInt(16);
int y = 5 + random.nextInt(4);
int z = j + random.nextInt(16);
- if(world.rand.nextInt(10) == 0) world.setBlock(x, y, z, BlockList.shadowOre.blockID);
+ world.setBlock(x, y, z, BlockList.shadowOre.blockID);
+ if(random.nextInt(3) == 0) world.setBlock(x + random.nextInt(2), y + random.nextInt(1), z + random.nextInt(2), BlockList.shadowOre.blockID);
}
}