本文整理汇总了Java中net.minecraft.world.biome.BiomeGenJungle类的典型用法代码示例。如果您正苦于以下问题:Java BiomeGenJungle类的具体用法?Java BiomeGenJungle怎么用?Java BiomeGenJungle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BiomeGenJungle类属于net.minecraft.world.biome包,在下文中一共展示了BiomeGenJungle类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: func_151631_c
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private boolean func_151631_c(int p_151631_1_)
{
return BiomeGenBase.getBiome(p_151631_1_) != null && BiomeGenBase.getBiome(p_151631_1_).getBiomeClass() == BiomeGenJungle.class ? true : p_151631_1_ == BiomeGenBase.jungleEdge.biomeID || p_151631_1_ == BiomeGenBase.jungle.biomeID || p_151631_1_ == BiomeGenBase.jungleHills.biomeID || p_151631_1_ == BiomeGenBase.forest.biomeID || p_151631_1_ == BiomeGenBase.taiga.biomeID || isBiomeOceanic(p_151631_1_);
}
示例2: func_151631_c
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private boolean func_151631_c(int p_151631_1_)
{
return BiomeGenBase.func_150568_d(p_151631_1_) != null && BiomeGenBase.func_150568_d(p_151631_1_).func_150562_l() == BiomeGenJungle.class ? true : p_151631_1_ == BiomeGenBase.field_150574_L.biomeID || p_151631_1_ == BiomeGenBase.jungle.biomeID || p_151631_1_ == BiomeGenBase.jungleHills.biomeID || p_151631_1_ == BiomeGenBase.forest.biomeID || p_151631_1_ == BiomeGenBase.taiga.biomeID || func_151618_b(p_151631_1_);
}
示例3: getTemperaturesForBiomes
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
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;
}
示例4: func_151631_c
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private boolean func_151631_c(int p_151631_1_)
{
return AdvancedRocketryBiomes.instance.getBiomeById(p_151631_1_) != null && AdvancedRocketryBiomes.instance.getBiomeById(p_151631_1_).getBiomeClass() == BiomeGenJungle.class ? true : p_151631_1_ == BiomeGenBase.jungleEdge.biomeID || p_151631_1_ == BiomeGenBase.jungle.biomeID || p_151631_1_ == BiomeGenBase.jungleHills.biomeID || p_151631_1_ == BiomeGenBase.forest.biomeID || p_151631_1_ == BiomeGenBase.taiga.biomeID || isBiomeOceanic(p_151631_1_);
}
示例5: JungleHillsBiomeType
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private JungleHillsBiomeType() {
super((BiomeGenJungle) BiomeGenBase.jungleHills);
}
示例6: JungleBiomeType
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private JungleBiomeType() {
super((BiomeGenJungle) BiomeGenBase.jungle);
}
示例7: JungleEdgeBiomeType
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
private JungleEdgeBiomeType() {
super((BiomeGenJungle) BiomeGenBase.jungleEdge);
}
示例8: registerVanillaBiomes
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
public static void registerVanillaBiomes(){
BiomeDictionary.registerBiomeType(new BiomeGenBeach(16), BiomeDictionary.Type.BEACH, BiomeDictionary.Type.SANDY, BiomeDictionary.Type.HOT);
BiomeDictionary.registerBiomeType(new BiomeGenForest(27, 2), BiomeDictionary.Type.FOREST);
BiomeDictionary.registerBiomeType(new BiomeGenForest(28, 2), BiomeDictionary.Type.FOREST, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenBeach(26), BiomeDictionary.Type.COLD, BiomeDictionary.Type.BEACH, BiomeDictionary.Type.SANDY, BiomeDictionary.Type.HOT);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(30, 0), BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST, BiomeDictionary.Type.SNOWY);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(31, 0), BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST, BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenOcean(24), BiomeDictionary.Type.OCEAN, BiomeDictionary.Type.WATER);
BiomeDictionary.registerBiomeType(new BiomeGenDesert(2), BiomeDictionary.Type.SANDY, BiomeDictionary.Type.HOT, BiomeDictionary.Type.DRY);
BiomeDictionary.registerBiomeType(new BiomeGenDesert(17), BiomeDictionary.Type.SANDY, BiomeDictionary.Type.HOT, BiomeDictionary.Type.DRY);
BiomeDictionary.registerBiomeType(new BiomeGenHills(3, false), BiomeDictionary.Type.COLD, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenHills(20, true), BiomeDictionary.Type.COLD, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenHills(34, true), BiomeDictionary.Type.COLD, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenForest(4, 0), BiomeDictionary.Type.FOREST);
BiomeDictionary.registerBiomeType(new BiomeGenForest(18, 0), BiomeDictionary.Type.FOREST, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenOcean(10), BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.OCEAN, BiomeDictionary.Type.WATER);
BiomeDictionary.registerBiomeType(new BiomeGenRiver(11), BiomeDictionary.Type.COLD, BiomeDictionary.Type.RIVER);
BiomeDictionary.registerBiomeType(new BiomeGenHell(8), BiomeDictionary.Type.NETHER);
BiomeDictionary.registerBiomeType(new BiomeGenSnow(13, false), BiomeDictionary.Type.COLD, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenSnow(12, false), BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.COLD, BiomeDictionary.Type.PLAINS);
BiomeDictionary.registerBiomeType(new BiomeGenJungle(21, false), BiomeDictionary.Type.JUNGLE);
BiomeDictionary.registerBiomeType(new BiomeGenJungle(23, false), BiomeDictionary.Type.JUNGLE, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenJungle(22, false), BiomeDictionary.Type.JUNGLE, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(32, 1), BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(33, 1), BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenStoneBeach(25), BiomeDictionary.Type.WASTELAND, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenMesa(38, false, true), BiomeDictionary.Type.WASTELAND, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenMesa(39, false, false), BiomeDictionary.Type.WASTELAND, BiomeDictionary.Type.HILLS);
BiomeDictionary.registerBiomeType(new BiomeGenMushroomIsland(14), BiomeDictionary.Type.MUSHROOM);
BiomeDictionary.registerBiomeType(new BiomeGenMushroomIsland(15), BiomeDictionary.Type.MUSHROOM);
BiomeDictionary.registerBiomeType(new BiomeGenSnow(12, false), BiomeDictionary.Type.OCEAN, BiomeDictionary.Type.WATER);
BiomeDictionary.registerBiomeType(new BiomeGenPlains(1), BiomeDictionary.Type.PLAINS);
BiomeDictionary.registerBiomeType(new BiomeGenRiver(7), BiomeDictionary.Type.RIVER);
BiomeDictionary.registerBiomeType(new BiomeGenForest(29, 3), BiomeDictionary.Type.FOREST, BiomeDictionary.Type.DENSE);
BiomeDictionary.registerBiomeType(new BiomeGenStoneBeach(25), BiomeDictionary.Type.WASTELAND, BiomeDictionary.Type.DRY);
BiomeDictionary.registerBiomeType(new BiomeGenStoneBeach(25), BiomeDictionary.Type.WASTELAND, BiomeDictionary.Type.DRY);
BiomeDictionary.registerBiomeType(new BiomeGenEnd(9), BiomeDictionary.Type.END);
BiomeDictionary.registerBiomeType(new BiomeGenStoneBeach(25), BiomeDictionary.Type.BEACH);
BiomeDictionary.registerBiomeType(BiomeGenBase.swampland, BiomeDictionary.Type.SWAMP);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(5, 0), BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST, BiomeDictionary.Type.SNOWY);
BiomeDictionary.registerBiomeType(new BiomeGenTaiga(19, 0), BiomeDictionary.Type.COLD, BiomeDictionary.Type.FOREST, BiomeDictionary.Type.SNOWY, BiomeDictionary.Type.HILLS);
}
示例9: isJunleOrForestOrTaigaOrOcean
import net.minecraft.world.biome.BiomeGenJungle; //导入依赖的package包/类
public boolean isJunleOrForestOrTaigaOrOcean(int biomeID) {
return BiomeGenBase.getBiome(biomeID) != null && BiomeGenBase.getBiome(biomeID).getBiomeClass() == BiomeGenJungle.class ? true : biomeID == BiomeGenBase.jungleEdge.biomeID || biomeID == BiomeGenBase.jungle.biomeID || biomeID == BiomeGenBase.jungleHills.biomeID || biomeID == BiomeGenBase.forest.biomeID || biomeID == BiomeGenBase.taiga.biomeID || isBiomeOceanic(biomeID);
}