Java 类net.minecraft.world.biome.BiomeGenMutated 实例源码

项目:Restructured    文件:BlockThemes.java   
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);
}
项目:Real-Life-Mod-1.8    文件:TemperatureHelper.java   
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;
}
项目:Corundum    文件:MesaPlateauMBiome.java   
private MesaPlateauMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(167));
}
项目:Corundum    文件:MesaPlateauFMBiome.java   
private MesaPlateauFMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(166));
}
项目:Corundum    文件:DesertMBiome.java   
private DesertMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(130));
}
项目:Corundum    文件:SwamplandMBiome.java   
private SwamplandMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(134));
}
项目:Corundum    文件:FlowerForestBiome.java   
private FlowerForestBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(132));
}
项目:Corundum    文件:BirchForestMBiome.java   
private BirchForestMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(155));
}
项目:Corundum    文件:ExtremeHillsPlusMBiome.java   
private ExtremeHillsPlusMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(162));
}
项目:Corundum    文件:ExtremeHillsMBiome.java   
private ExtremeHillsMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(131));
}
项目:Corundum    文件:SavannaMBiome.java   
private SavannaMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(163));
}
项目:Corundum    文件:SavannaPlateauMBiome.java   
private SavannaPlateauMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(164));
}
项目:Corundum    文件:JungleEdgeMBiome.java   
private JungleEdgeMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(151));
}
项目:Corundum    文件:JungleMBiome.java   
private JungleMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(149));
}
项目:Corundum    文件:TaigaMBiome.java   
private TaigaMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(133));
}
项目:Corundum    文件:ColdTaigaMBiome.java   
private ColdTaigaMBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(158));
}
项目:Corundum    文件:MegaSpruceTaigaBiome.java   
private MegaSpruceTaigaBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(160));
}
项目:Corundum    文件:RedwoodTaigaHillsBiome.java   
private RedwoodMegaTaigaHillsBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(161));
}
项目:Corundum    文件:IceSpikesBiome.java   
private IceSpikesBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(140));
}
项目:Corundum    文件:SunflowerPlainsBiome.java   
private SunflowerPlainsBiomeType() {
    super((BiomeGenMutated) BiomeGenBase.getBiome(129));
}