当前位置: 首页>>代码示例>>Java>>正文


Java Biome.BiomeProperties方法代码示例

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


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

示例1: init

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
@CustomRegistry
public static void init() {
	Biome.BiomeProperties properties = new Biome.BiomeProperties("Rubber Plantation");
	properties.setTemperature(0.95F);
	properties.setRainfall(0.95F);
	properties.setBaseHeight(0.45F);
	properties.setHeightVariation(0.4F);

	rubberPlantationBiome = new RubberPlantationBiome(properties);
	rubberPlantationBiome.setRegistryName(new ResourceLocation(TRConstants.MOD_ID, "rubberPlantation"));

	GameRegistry.register(rubberPlantationBiome);

	BiomeManager.addBiome(BiomeManager.BiomeType.WARM, new BiomeManager.BiomeEntry(rubberPlantationBiome, 20));
	BiomeManager.addSpawnBiome(rubberPlantationBiome);
	BiomeProvider.allowedBiomes.add(rubberPlantationBiome);
}
 
开发者ID:TechReborn,项目名称:TechReborn3,代码行数:18,代码来源:TechRebornWorld.java

示例2: NeoBiome

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public NeoBiome(String name, Biome.BiomeProperties properties) {
	super(properties.setRainDisabled());
	this.setRegistryName(name);
	this.name = name;
}
 
开发者ID:elytra,项目名称:ThermionicsWorld,代码行数:6,代码来源:NeoBiome.java

示例3: PLBiome

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public PLBiome(Biome.BiomeProperties properties)
{
    super(properties);
}
 
开发者ID:ProxyNeko,项目名称:Proxys-Lib,代码行数:5,代码来源:PLBiome.java

示例4: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPDenseWarmForest create()
{
	return new ExPDenseWarmForest(new Biome.BiomeProperties("densewarmforest"), 1.2F, 1.2F, 8F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPDenseWarmForest.java

示例5: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPRareForest create()
{
	return new ExPRareForest(new Biome.BiomeProperties("rareforest"), 1.05F, 1F, 3F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPRareForest.java

示例6: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPForest create()
{
	return new ExPForest(new Biome.BiomeProperties("forest"), 1.05F, 1F, 3F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPForest.java

示例7: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPDenseForest create()
{
	return new ExPDenseForest(new Biome.BiomeProperties("denseforest"), 1.2F, 1.2F, 0F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPDenseForest.java

示例8: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPColdForest create()
{
	return new ExPColdForest(new Biome.BiomeProperties("coldforest"), 1.05F, 1F, -7F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPColdForest.java

示例9: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPDenseColdForest create()
{
	return new ExPDenseColdForest(new Biome.BiomeProperties("densecoldforest"), 1.2F, 1.2F, -8F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPDenseColdForest.java

示例10: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPJungle create()
{
	return new ExPJungle(new Biome.BiomeProperties("jungle"), 1.3F, 1.5F, 6F, 0.1F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPJungle.java

示例11: create

import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public static ExPWarmForest create()
{
	return new ExPWarmForest(new Biome.BiomeProperties("warmforest"), 1.05F, 1F, 9F, 0F);
}
 
开发者ID:V0idWa1k3r,项目名称:ExPetrum,代码行数:5,代码来源:ExPWarmForest.java


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