public BiomeGenBase createMutatedBiome(int p_180277_1_) { BiomeGenSavanna.Mutated mutated = new BiomeGenSavanna.Mutated(p_180277_1_, this); mutated.temperature = (this.temperature + 1.0F) * 0.5F; mutated.minHeight = this.minHeight * 0.5F + 0.3F; mutated.maxHeight = this.maxHeight * 0.5F + 1.2F; return mutated; }
public static float getTemperaturesForBiomes(BiomeGenBase biome, EntityPlayer player) { if (biome instanceof BiomeGenBeach) { return 30; } if (biome instanceof BiomeGenHills) { if (player.posY > 64) { return (float) (18 - player.posY - 64 / 250); } else return 18; } if (biome instanceof BiomeGenDesert) { return 40; } if (biome instanceof BiomeGenForest) { return 22; } if (biome instanceof BiomeGenEnd) { return -23; } if (biome instanceof BiomeGenHell) { return 40; } if (biome instanceof BiomeGenJungle) { return -25; } if (biome instanceof BiomeGenOcean) { return 15; } if (biome instanceof BiomeGenPlains) { return 23; } if (biome instanceof BiomeGenRiver) { return 19; } if (biome instanceof BiomeGenSavanna) { return 33; } if (biome instanceof BiomeGenSwamp) { return 21; } if (biome instanceof BiomeGenSnow) { return -5; } if (biome instanceof BiomeGenStoneBeach) { return 28; } if (biome instanceof BiomeGenMushroomIsland) { return 23; } if (biome instanceof BiomeGenMutated) { return (float) (Math.random() * 30); } if (biome instanceof BiomeGenMesa) { return (float) (Math.random() * 30); } return 21.3f; }
private SavannaBiomeType() { super((BiomeGenSavanna) BiomeGenBase.savanna); }
private SavannaPlateauBiomeType() { super((BiomeGenSavanna) BiomeGenBase.savannaPlateau); }