private static void register(final BiomeGenBase biome, final Map<Block, ThemeBlock> theme) { // Register biome themes.put(biome, theme); // Check for mutation final BiomeGenBase mutation = BiomeGenBase.getBiome(biome.biomeID + 128); if (mutation instanceof BiomeGenMutated) themes.put(mutation, theme); }
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 MesaPlateauMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(167)); }
private MesaPlateauFMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(166)); }
private DesertMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(130)); }
private SwamplandMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(134)); }
private FlowerForestBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(132)); }
private BirchForestMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(155)); }
private ExtremeHillsPlusMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(162)); }
private ExtremeHillsMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(131)); }
private SavannaMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(163)); }
private SavannaPlateauMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(164)); }
private JungleEdgeMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(151)); }
private JungleMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(149)); }
private TaigaMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(133)); }
private ColdTaigaMBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(158)); }
private MegaSpruceTaigaBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(160)); }
private RedwoodMegaTaigaHillsBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(161)); }
private IceSpikesBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(140)); }
private SunflowerPlainsBiomeType() { super((BiomeGenMutated) BiomeGenBase.getBiome(129)); }