• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java BiomeGenMesa类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中net.minecraft.world.biome.BiomeGenMesa的典型用法代码示例。如果您正苦于以下问题:Java BiomeGenMesa类的具体用法?Java BiomeGenMesa怎么用?Java BiomeGenMesa使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



BiomeGenMesa类属于net.minecraft.world.biome包,在下文中一共展示了BiomeGenMesa类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: func_151633_d

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private boolean func_151633_d(int p_151633_1_)
{
    return BiomeGenBase.getBiome(p_151633_1_) instanceof BiomeGenMesa;
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:5,代码来源:GenLayerShore.java


示例2: func_151633_d

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private boolean func_151633_d(int p_151633_1_)
{
    return BiomeGenBase.func_150568_d(p_151633_1_) != null && BiomeGenBase.func_150568_d(p_151633_1_) instanceof BiomeGenMesa;
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:5,代码来源:GenLayerShore.java


示例3: getTemperaturesForBiomes

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的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;
}
 
开发者ID:ItsAMysterious,项目名称:Real-Life-Mod-1.8,代码行数:73,代码来源:TemperatureHelper.java


示例4: func_151633_d

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private boolean func_151633_d(int p_151633_1_)
{
	return AdvancedRocketryBiomes.instance.getBiomeById(p_151633_1_) != null && AdvancedRocketryBiomes.instance.getBiomeById(p_151633_1_) instanceof BiomeGenMesa;
}
 
开发者ID:zmaster587,项目名称:AdvancedRocketry,代码行数:5,代码来源:GenLayerShoreExtended.java


示例5: MesaBryceBiomeType

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private MesaBryceBiomeType() {
    super((BiomeGenMesa) BiomeGenBase.getBiome(163));
}
 
开发者ID:asusoda,项目名称:Corundum,代码行数:4,代码来源:MesaBryceBiome.java


示例6: MesaPlateauFBiomeType

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private MesaPlateauFBiomeType() {
    super((BiomeGenMesa) BiomeGenBase.mesaPlateau_F);
}
 
开发者ID:asusoda,项目名称:Corundum,代码行数:4,代码来源:MesaPlateauFBiome.java


示例7: MesaBiomeType

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private MesaBiomeType() {
    super((BiomeGenMesa) BiomeGenBase.mesa);
}
 
开发者ID:asusoda,项目名称:Corundum,代码行数:4,代码来源:MesaBiome.java


示例8: MesaPlateauBiomeType

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private MesaPlateauBiomeType() {
    super((BiomeGenMesa) BiomeGenBase.mesaPlateau);
}
 
开发者ID:asusoda,项目名称:Corundum,代码行数:4,代码来源:MesaPlateauBiome.java


示例9: func_151633_d

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
private boolean func_151633_d(int p_151633_1_)
{
    return BiomeGenBase.getBiome(p_151633_1_) != null && BiomeGenBase.getBiome(p_151633_1_) instanceof BiomeGenMesa;
}
 
开发者ID:xtrafrancyz,项目名称:Cauldron,代码行数:5,代码来源:GenLayerShore.java


示例10: registerVanillaBiomes

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的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);
}
 
开发者ID:gjkf,项目名称:ForeCraft,代码行数:43,代码来源:BiomesHandler.java


示例11: isMesaBiome

import net.minecraft.world.biome.BiomeGenMesa; //导入依赖的package包/类
public boolean isMesaBiome(int biomeID) {
	return BiomeGenBase.getBiome(biomeID) != null && BiomeGenBase.getBiome(biomeID) instanceof BiomeGenMesa;
}
 
开发者ID:AgeCraft,项目名称:AgeCraft-Old,代码行数:4,代码来源:AgeGenLayerShore.java



注:本文中的net.minecraft.world.biome.BiomeGenMesa类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java JobExecutionResult类代码示例发布时间:2022-05-22
下一篇:
Java AmbientLight类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap