Smaller nether biomes

This commit is contained in:
ted80-PC 2013-05-18 18:35:01 +02:00
parent 4fa36210ad
commit c9a1076551
2 changed files with 8 additions and 2 deletions

View File

@ -167,7 +167,7 @@ public class ChunkProviderBOPhell implements IChunkProvider
MinecraftForge.EVENT_BUS.post(event); MinecraftForge.EVENT_BUS.post(event);
if (event.getResult() == Result.DENY) return; if (event.getResult() == Result.DENY) return;
byte b0 = 64; byte b0 = 32;
double d0 = 0.03125D; double d0 = 0.03125D;
this.slowsandNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.slowsandNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d0, d0, 1.0D); this.slowsandNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.slowsandNoise, par1 * 16, par2 * 16, 0, 16, 16, 1, d0, d0, 1.0D);
this.gravelNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d0, 1.0D, d0); this.gravelNoise = this.slowsandGravelNoiseGen.generateNoiseOctaves(this.gravelNoise, par1 * 16, 109, par2 * 16, 16, 1, 16, d0, 1.0D, d0);

View File

@ -15,6 +15,12 @@ public abstract class BiomeLayer
//dim: 0 = surface, 1 = hell, 2 = promised //dim: 0 = surface, 1 = hell, 2 = promised
public static BiomeLayer[] initializeAllBiomeGenerators(long seed, WorldType worldtype, int dim) public static BiomeLayer[] initializeAllBiomeGenerators(long seed, WorldType worldtype, int dim)
{ {
int biomesize = 3;
if(dim == 1)
{
biomesize = 2;
}
//Hell and promised biome gen //Hell and promised biome gen
BiomeLayer obj = new BiomeLayerCreate(1L); BiomeLayer obj = new BiomeLayerCreate(1L);
obj = new BiomeLayerFuzzyZoom(2000L, (BiomeLayer)(obj)); obj = new BiomeLayerFuzzyZoom(2000L, (BiomeLayer)(obj));
@ -22,7 +28,7 @@ public abstract class BiomeLayer
obj = BiomeLayerZoom.func_75915_a(1000L, ((BiomeLayer)(obj)), 0); obj = BiomeLayerZoom.func_75915_a(1000L, ((BiomeLayer)(obj)), 0);
obj = new BiomeLayerBiomes(200L, ((BiomeLayer)(obj)), worldtype, dim); obj = new BiomeLayerBiomes(200L, ((BiomeLayer)(obj)), worldtype, dim);
obj = BiomeLayerZoom.func_75915_a(1000L, ((BiomeLayer)(obj)), 2); obj = BiomeLayerZoom.func_75915_a(1000L, ((BiomeLayer)(obj)), 2);
for(int j = 0; j < 3; j++) { obj = new BiomeLayerZoom(1000L + j, (BiomeLayer)(obj)); } for(int j = 0; j < biomesize; j++) { obj = new BiomeLayerZoom(1000L + j, (BiomeLayer)(obj)); }
BiomeLayerVoronoiZoom genlayervoronoizoom = new BiomeLayerVoronoiZoom(10L, ((BiomeLayer)(obj))); BiomeLayerVoronoiZoom genlayervoronoizoom = new BiomeLayerVoronoiZoom(10L, ((BiomeLayer)(obj)));
((BiomeLayer)(obj)).initWorldGenSeed(seed); ((BiomeLayer)(obj)).initWorldGenSeed(seed);
genlayervoronoizoom.initWorldGenSeed(seed); genlayervoronoizoom.initWorldGenSeed(seed);