mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Disable features for noise testing
This commit is contained in:
parent
417a759c40
commit
495dcd94d8
@ -45,7 +45,10 @@ public class Settings
|
|||||||
public double caveScale = 1.45;
|
public double caveScale = 1.45;
|
||||||
public double biomeScale = 2;
|
public double biomeScale = 2;
|
||||||
public boolean flatBedrock = false;
|
public boolean flatBedrock = false;
|
||||||
public boolean genObjects = true;
|
public boolean genObjects = false;
|
||||||
|
public boolean genCarving = false;
|
||||||
|
public boolean genCaverns = false;
|
||||||
|
public boolean genCaves = false;
|
||||||
public double carvingChance = 0.352;
|
public double carvingChance = 0.352;
|
||||||
public double cavernChance = 0.321;
|
public double cavernChance = 0.321;
|
||||||
public int minCarvingHeight = 75;
|
public int minCarvingHeight = 75;
|
||||||
|
@ -70,6 +70,11 @@ public class GenLayerCarving extends GenLayer
|
|||||||
|
|
||||||
public void genCarves(double wxx, double wzx, int x, int z, int s, IrisGenerator g, IrisBiome biome)
|
public void genCarves(double wxx, double wzx, int x, int z, int s, IrisGenerator g, IrisBiome biome)
|
||||||
{
|
{
|
||||||
|
if(!Iris.settings.gen.genCarving)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(s < Iris.settings.gen.minCarvingHeight)
|
if(s < Iris.settings.gen.minCarvingHeight)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -70,6 +70,11 @@ public class GenLayerCaverns extends GenLayer
|
|||||||
|
|
||||||
public void genCaverns(double wxx, double wzx, int x, int z, int s, IrisGenerator g, IrisBiome biome)
|
public void genCaverns(double wxx, double wzx, int x, int z, int s, IrisGenerator g, IrisBiome biome)
|
||||||
{
|
{
|
||||||
|
if(!Iris.settings.gen.genCaverns)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if(s < Iris.settings.gen.minCavernHeight)
|
if(s < Iris.settings.gen.minCavernHeight)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -30,6 +30,11 @@ public class GenLayerCaves extends GenLayer
|
|||||||
|
|
||||||
public void 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)
|
||||||
{
|
{
|
||||||
|
if(!Iris.settings.gen.genCaves)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
for(double itr = 0; itr < 0.1 * Iris.settings.gen.caveDensity; itr += 0.1)
|
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));
|
double thickness = 0.25 + itr + (0.5 * caveClamp.noise(wxx, wzx));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user