mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-05 23:36:12 +00:00
fIXES
This commit is contained in:
@@ -206,7 +206,7 @@ public class IrisGenerator extends ParallelChunkGenerator
|
||||
setBlock(x, i, z, mb.material, mb.data);
|
||||
}
|
||||
|
||||
plan.caveMs(glCaves.genCaves(wxx, wzx, x, z, height, this));
|
||||
glCaves.genCaves(wxx, wzx, x, z, height, this);
|
||||
|
||||
return biome.getRealBiome();
|
||||
}
|
||||
|
||||
@@ -9,7 +9,6 @@ import ninja.bytecode.iris.Iris;
|
||||
import ninja.bytecode.iris.generator.IrisGenerator;
|
||||
import ninja.bytecode.iris.util.GenLayer;
|
||||
import ninja.bytecode.iris.util.MaxingGenerator;
|
||||
import ninja.bytecode.shuriken.bench.PrecisionStopwatch;
|
||||
import ninja.bytecode.shuriken.math.CNG;
|
||||
import ninja.bytecode.shuriken.math.RNG;
|
||||
|
||||
@@ -30,9 +29,8 @@ public class GenLayerCaves extends GenLayer
|
||||
|
||||
}
|
||||
|
||||
public double genCaves(double wxx, double wzx, int x, int z, int s, IrisGenerator g)
|
||||
public void genCaves(double wxx, double wzx, int x, int z, int s, IrisGenerator g)
|
||||
{
|
||||
PrecisionStopwatch p = PrecisionStopwatch.start();
|
||||
for(double itr = 0; itr < 0.1 * Iris.settings.gen.caveDensity; itr += 0.1)
|
||||
{
|
||||
double thickness = 0.25 + itr + (0.5 * caveClamp.noise(wxx, wzx));
|
||||
@@ -71,8 +69,6 @@ public class GenLayerCaves extends GenLayer
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return p.getMilliseconds();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user