本文整理汇总了Java中net.minecraft.init.Biomes.ROOFED_FOREST属性的典型用法代码示例。如果您正苦于以下问题:Java Biomes.ROOFED_FOREST属性的具体用法?Java Biomes.ROOFED_FOREST怎么用?Java Biomes.ROOFED_FOREST使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类net.minecraft.init.Biomes
的用法示例。
在下文中一共展示了Biomes.ROOFED_FOREST属性的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: GenLayerBiome
public GenLayerBiome(long par1, GenLayer par3GenLayer, WorldType worldType)//, WorldType par4WorldType)
{
super(par1);
this.field_151623_c = new Biome[] {Biomes.DESERT, Biomes.DESERT, Biomes.DESERT, Biomes.SAVANNA, Biomes.SAVANNA, Biomes.PLAINS};
this.field_151621_d = new Biome[] {Biomes.FOREST, Biomes.ROOFED_FOREST, Biomes.EXTREME_HILLS, Biomes.PLAINS, Biomes.BIRCH_FOREST, Biomes.SWAMPLAND};
this.field_151622_e = new Biome[] {Biomes.FOREST, Biomes.EXTREME_HILLS, Biomes.TAIGA, Biomes.PLAINS};
this.field_151620_f = new Biome[] {Biomes.ICE_PLAINS, Biomes.ICE_PLAINS, Biomes.ICE_PLAINS, Biomes.COLD_TAIGA};
this.parent = par3GenLayer;
if (worldType == WorldType.DEFAULT_1_1)
{
this.field_151623_c = new Biome[] {Biomes.DESERT, Biomes.FOREST, Biomes.EXTREME_HILLS, Biomes.SWAMPLAND, Biomes.PLAINS, Biomes.TAIGA};
}
}
示例2: getClosestStrongholdPos
public BlockPos getClosestStrongholdPos(World worldIn, BlockPos pos, boolean p_180706_3_)
{
this.worldObj = worldIn;
BiomeProvider biomeprovider = worldIn.getBiomeProvider();
return biomeprovider.func_190944_c() && biomeprovider.func_190943_d() != Biomes.ROOFED_FOREST ? null : func_191069_a(worldIn, this, pos, 80, 20, 10387319, true, 100, p_180706_3_);
}