本文整理匯總了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);
}