9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 04:29:05 +00:00

A Splash of Iris

This commit is contained in:
Daniel Mills
2020-09-04 02:15:36 -04:00
parent d144b9ba0b
commit bdd0da82e7
2 changed files with 51 additions and 10 deletions

View File

@@ -285,16 +285,6 @@ public abstract class ParallaxChunkGenerator extends TerrainChunkGenerator imple
k.place(this, random.nextParallelRNG(-22228 + -4228 + -7228 + (34 * ((i * 30) + (j * 30)) * i * j) + i - j + 1569962), i, j);
}
for(IrisStructurePlacement k : r.getStructures())
{
k.place(this, random.nextParallelRNG(2228), i, j);
}
for(IrisStructurePlacement k : b.getStructures())
{
k.place(this, random.nextParallelRNG(-22228), i, j);
}
for(IrisObjectPlacement k : b.getObjects())
{
int gg = g++;
@@ -324,6 +314,17 @@ public abstract class ParallaxChunkGenerator extends TerrainChunkGenerator imple
placeCaveObject(k, i, j, random.nextParallelRNG((34 * ((i * 30) + (j * 30) + gg) * i * j) + i - j + 1869322));
}
}
for(IrisStructurePlacement k : r.getStructures())
{
k.place(this, random.nextParallelRNG(2228), i, j);
}
for(IrisStructurePlacement k : b.getStructures())
{
k.place(this, random.nextParallelRNG(-22228), i, j);
}
});
getParallaxChunk(ii, jj).setParallaxGenerated(true);