Permenantly disable portal gen. Closes #363
parent
a176916cac
commit
866f0cc816
|
@ -30,8 +30,7 @@ public class WorldGenSteamcraft implements IWorldGenerator
|
||||||
int blockChunkX = chunkX * 16;
|
int blockChunkX = chunkX * 16;
|
||||||
int blockChunkZ = chunkZ * 16;
|
int blockChunkZ = chunkZ * 16;
|
||||||
|
|
||||||
if (((world.provider.dimensionId == 0) && ConfigWorldGen.overworldGenerationEnabled)
|
if (((world.provider.dimensionId == 0) && ConfigWorldGen.overworldGenerationEnabled)))
|
||||||
|| ((world.provider.dimensionId == ConfigGeneral.deepsDimensionID) && ConfigWorldGen.deepsGenerationEnabled))
|
|
||||||
{
|
{
|
||||||
this.generateSurface(world, random, blockChunkX, blockChunkZ);
|
this.generateSurface(world, random, blockChunkX, blockChunkZ);
|
||||||
}
|
}
|
||||||
|
@ -94,13 +93,5 @@ public class WorldGenSteamcraft implements IWorldGenerator
|
||||||
new WorldGenBrassTree().generate(world, random, X, Y, Z);
|
new WorldGenBrassTree().generate(world, random, X, Y, Z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((random.nextInt(30) == 0) && ConfigWorldGen.deepsPortalGenEnabled)
|
|
||||||
{
|
|
||||||
int X = chunkX + random.nextInt(16);
|
|
||||||
int Z = chunkZ + random.nextInt(16);
|
|
||||||
int Y = random.nextInt(6);
|
|
||||||
new WorldGenFissurePortal().generate(world, random, X, Y, Z);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue