本文整理汇总了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);
}
示例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;
}
示例3: PLBiome
import net.minecraft.world.biome.Biome; //导入方法依赖的package包/类
public PLBiome(Biome.BiomeProperties properties)
{
super(properties);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}