Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.

Commit

Permalink
Increased ore and canyon frequency
Browse files Browse the repository at this point in the history
Compensating for deeper world
  • Loading branch information
rmichela committed Aug 27, 2013
1 parent 62a8115 commit 313bf85
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions src/main/java/com/ryanmichela/subterranea/SBiomeDecorator.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,28 @@ protected void b() {
if (this.a.worldProvider instanceof SWorldProvider)
{
this.a(20, this.i, 0, 256); //256=128 Dirt
this.a(20, this.i, 0, 256); //256=128 Dirt
this.a(20, this.i, 0, 256); //256=128 Dirt
this.a(10, this.j, 0, 256); //256=128 Gravel
this.a(10, this.j, 0, 256); //256=128 Gravel
this.a(10, this.j, 0, 256); //256=128 Gravel
this.a(20, this.k, 0, 256); //256=128 Coal
this.a(20, this.k, 0, 256); //256=128 Coal
this.a(20, this.k, 0, 256); //256=128 Coal
this.a(20, this.l, 0, 192); //192=64 Iron
this.a(20, this.l, 0, 192); //192=64 Iron
this.a(20, this.l, 0, 192); //192=64 Iron
this.a(2, this.m, 0, 96); //96=32 Gold
this.a(2, this.m, 0, 96); //96=32 Gold
this.a(2, this.m, 0, 96); //96=32 Gold
this.a(8, this.n, 0, 48); //48=16 Redstone
this.a(8, this.n, 0, 48); //48=16 Redstone
this.a(8, this.n, 0, 48); //48=16 Redstone
this.a(1, this.o, 0, 48); //48=16 Diamond
this.a(1, this.o, 0, 48); //48=16 Diamond
this.a(1, this.o, 0, 48); //48=16 Diamond
this.b(1, this.p, 16, 48); //48=16 Lapis
this.b(1, this.p, 16, 48); //48=16 Lapis
this.b(1, this.p, 16, 48); //48=16 Lapis
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected void a(long i, int j, int k, byte[] abyte, double d0, double d1, doubl

float f5 = 1.0F;

for (int k1 = 0; k1 < 128; ++k1) {
for (int k1 = 0; k1 < 256; ++k1) { // 256 = 128
if (k1 == 0 || random.nextInt(3) == 0) {
f5 = 1.0F + random.nextFloat() * random.nextFloat() * 1.0F;
}
Expand Down

0 comments on commit 313bf85

Please sign in to comment.