mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Junk
This commit is contained in:
parent
75d9bf458a
commit
c47526ce8e
@ -133,7 +133,7 @@ public class IrisGenerator extends ParallelChunkGenerator
|
||||
public void onInit(World world, Random random)
|
||||
{
|
||||
this.world = world;
|
||||
rTerrain = new RNG(world.getSeed() + 1024);
|
||||
rTerrain = new RNG(world.getSeed());
|
||||
glBase = new GenLayerBase(this, world, random, rTerrain.nextParallelRNG(1));
|
||||
glLNoise = new GenLayerLayeredNoise(this, world, random, rTerrain.nextParallelRNG(2));
|
||||
glBiome = new GenLayerBiome(this, world, random, rTerrain.nextParallelRNG(4), dim.getBiomes());
|
||||
@ -159,6 +159,8 @@ public class IrisGenerator extends ParallelChunkGenerator
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
L.i("Signature = " + world.getSeed() + " + " + glBiome.getBiome(0, 0).getRealBiome().ordinal() +" + "+ computeHeight(0, 0, new ChunkPlan(), biome("Plains")));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -53,17 +53,14 @@ public abstract class ParallelChunkGenerator extends ChunkGenerator
|
||||
genPool = Iris.getController(ExecutionController.class).getExecutor(world);
|
||||
}
|
||||
|
||||
if(this.world == null)
|
||||
{
|
||||
ready = false;
|
||||
}
|
||||
|
||||
if(this.world != null && world.getSeed() != this.world.getSeed())
|
||||
{
|
||||
for(int i = 0; i < 16; i++)
|
||||
{
|
||||
for(int j = 0; j < 16; j++)
|
||||
{
|
||||
data.setBlock(i, 0, j, Material.YELLOW_GLAZED_TERRACOTTA);
|
||||
}
|
||||
}
|
||||
|
||||
return data.toChunkData();
|
||||
ready = false;
|
||||
}
|
||||
|
||||
this.world = world;
|
||||
|
Loading…
x
Reference in New Issue
Block a user