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

项目:geomastery    文件:BlockRiceTop.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeSwamp ||
            biome instanceof BiomeMushroomIsland ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCropHarvestable.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeForest || biome == Biomes.RIVER ||
            biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCropHarvestable.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeForest || biome == Biomes.RIVER ||
            biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCropHarvestable.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeForest || biome == Biomes.RIVER ||
            biome instanceof BiomeOcean ||
            biome instanceof BiomePlains ||
            biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna;
}
项目:geomastery    文件:BlockRiceBase.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeSwamp ||
            biome instanceof BiomeMushroomIsland ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCrop.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeOcean || biome == Biomes.RIVER ||
            biome instanceof BiomeBeach ||
            biome instanceof BiomeForest ||
            biome instanceof BiomePlains ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCrop.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome == Biomes.RIVER || biome instanceof BiomeOcean ||
            biome instanceof BiomeForest ||
            biome instanceof BiomePlains ||
            biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna;
}
项目:geomastery    文件:BlockCrop.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeBeach ||
            biome instanceof BiomePlains ||
            biome instanceof BiomeSwamp ||
            biome instanceof BiomeMushroomIsland ||
            biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna;
}
项目:geomastery    文件:BlockSeedling.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeForest ||
            biome instanceof BiomeOcean ||
            biome instanceof BiomePlains || biome == Biomes.RIVER ||
            biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna;
}
项目:geomastery    文件:BlockSeedling.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna ||
            biome instanceof BiomeDesert || biome instanceof BiomeMesa;
}
项目:geomastery    文件:BlockSeedling.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeSwamp ||
            biome instanceof BiomeMushroomIsland ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCropBlockfruit.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeTaiga || biome instanceof BiomeHills ||
            biome instanceof BiomeBeach ||
            biome instanceof BiomeForest ||
            biome instanceof BiomePlains || biome == Biomes.RIVER ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:BlockCropBlockfruit.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeJungle ||
            biome instanceof BiomeSavanna;
}
项目:geomastery    文件:BlockBeehive.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomeForest || biome instanceof BiomeOcean ||
            biome == Biomes.RIVER || biome instanceof BiomePlains ||
            biome == Biomes.BEACH || biome instanceof BiomeSwamp ||
            biome instanceof BiomeMushroomIsland ||
            biome instanceof BiomeJungle || biome instanceof BiomeSavanna;
}
项目:Backmemed    文件:GenLayerShore.java   
private boolean isJungleCompatible(int p_151631_1_)
{
    return Biome.getBiome(p_151631_1_) != null && Biome.getBiome(p_151631_1_).getBiomeClass() == BiomeJungle.class ? true : p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_EDGE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_HILLS) || p_151631_1_ == Biome.getIdForBiome(Biomes.FOREST) || p_151631_1_ == Biome.getIdForBiome(Biomes.TAIGA) || isBiomeOceanic(p_151631_1_);
}
项目:CustomWorldGen    文件:GenLayerShore.java   
private boolean isJungleCompatible(int p_151631_1_)
{
    return Biome.getBiome(p_151631_1_) != null && Biome.getBiome(p_151631_1_).getBiomeClass() == BiomeJungle.class ? true : p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_EDGE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_HILLS) || p_151631_1_ == Biome.getIdForBiome(Biomes.FOREST) || p_151631_1_ == Biome.getIdForBiome(Biomes.TAIGA) || isBiomeOceanic(p_151631_1_);
}
项目:Geographicraft    文件:GenLayerShore.java   
private boolean func_151631_c(int p_151631_1_)
{ 
    return Biome.getBiome(p_151631_1_) != null && Biome.getBiome(p_151631_1_).getBiomeClass() == BiomeJungle.class ? true : p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_EDGE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_HILLS) || p_151631_1_ == Biome.getIdForBiome(Biomes.FOREST) || p_151631_1_ == Biome.getIdForBiome(Biomes.TAIGA) || isBiomeOceanic(p_151631_1_);
}
项目:Geographicraft    文件:GenLayerPrettyShore.java   
private boolean func_151631_c(int p_151631_1_)
{
    return Biome.getBiome(p_151631_1_) != null && Biome.getBiome(p_151631_1_).getBiomeClass() == BiomeJungle.class ? true : p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_EDGE)
            || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_HILLS)
            || p_151631_1_ == Biome.getIdForBiome(Biomes.FOREST) || p_151631_1_ == Biome.getIdForBiome(Biomes.TAIGA) || isOceanic(p_151631_1_);
}
项目:Geographicraft    文件:GenLayerShoreCC.java   
private boolean func_151631_c(int p_151631_1_)
{
    return Biome.getBiome(p_151631_1_) != null && Biome.getBiome(p_151631_1_).getBiomeClass() == BiomeJungle.class 
            ? true : p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_EDGE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE) || p_151631_1_ == Biome.getIdForBiome(Biomes.JUNGLE_HILLS) || p_151631_1_ == Biome.getIdForBiome(Biomes.FOREST) || p_151631_1_ == Biome.getIdForBiome(Biomes.TAIGA) || isOceanic(p_151631_1_);
}
项目:geomastery    文件:BlockCrop.java   
@Override
public boolean isPermitted(Biome biome) {

    return biome instanceof BiomePlains || biome == Biomes.BEACH ||
            biome instanceof BiomeJungle;
}
项目:geomastery    文件:GeoBiomes.java   
/** Assigns a temperature to the biome.
 * @return The base temperature for the biome */
private static float chooseTemp(Biome biome) {

    if (biome == Biomes.MUTATED_ICE_FLATS) {

        return -4;

    } else if (biome instanceof BiomeSnow) {

        return -3;

    } else if (biome == Biomes.FROZEN_RIVER) {

        return -2;

    } else if (biome == Biomes.COLD_TAIGA ||
            biome == Biomes.COLD_TAIGA_HILLS ||
            biome == Biomes.MUTATED_TAIGA_COLD) {

        return -1;

    } else if (biome == Biomes.COLD_BEACH) {

        return -0.5F;

    } else if (biome instanceof BiomeHills || biome instanceof BiomeTaiga ||
            biome instanceof BiomeVoid || biome instanceof BiomeEnd) {

        return 0;

    } else if (biome == Biomes.STONE_BEACH) {

        return 0.5F;

    } else if (biome == Biomes.BIRCH_FOREST ||
            biome == Biomes.BIRCH_FOREST_HILLS) {

        return 1;

    } else if (biome instanceof BiomeOcean || biome instanceof BiomeForest
            || biome instanceof BiomeRiver) {

        return 2;

    } else if (biome instanceof BiomePlains) {

        return 2.5F;

    } else if (biome instanceof BiomeSwamp || biome instanceof BiomeBeach) {

        return 3;

    } else if (biome instanceof BiomeMushroomIsland) {

        return 4;

    } else if (biome instanceof BiomeJungle) {

        return 4.5F;

    } else if (biome instanceof BiomeSavanna) {

        return 5;

    } else if (biome instanceof BiomeDesert || biome instanceof BiomeMesa ||
            biome instanceof BiomeHell) {

        return 6;

    } else {

        float base = biome.getTemperature();
        float converted = (base - 1) * 10;
        Geomastery.LOG.info("Unsupported biome {} has had its temperature set to {}", biome.getBiomeName(), converted);
        return converted;
    }
}