Added podzol to the Bamboo Forest and Redwood Forest
This commit is contained in:
parent
970a47d856
commit
75c70e60c6
3 changed files with 30 additions and 5 deletions
|
@ -16,7 +16,7 @@ import biomesoplenty.common.world.features.trees.WorldGenBulbTree;
|
||||||
|
|
||||||
public class BiomeGenBambooForest extends BOPBiome
|
public class BiomeGenBambooForest extends BOPBiome
|
||||||
{
|
{
|
||||||
private static final Height biomeHeight = new Height(0.2F, 0.4F);
|
private static final Height biomeHeight = new Height(0.1F, 0.3F);
|
||||||
|
|
||||||
public BiomeGenBambooForest(int id)
|
public BiomeGenBambooForest(int id)
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,7 @@ public class BiomeGenBambooForest extends BOPBiome
|
||||||
//TODO: setColor()
|
//TODO: setColor()
|
||||||
this.setColor(10739795);
|
this.setColor(10739795);
|
||||||
this.setTemperatureRainfall(1.2F, 0.9F);
|
this.setTemperatureRainfall(1.2F, 0.9F);
|
||||||
|
|
||||||
this.theBiomeDecorator.treesPerChunk = 30;
|
this.theBiomeDecorator.treesPerChunk = 30;
|
||||||
this.theBiomeDecorator.grassPerChunk = 5;
|
this.theBiomeDecorator.grassPerChunk = 5;
|
||||||
this.theBiomeDecorator.flowersPerChunk = -999;
|
this.theBiomeDecorator.flowersPerChunk = -999;
|
||||||
|
@ -62,6 +62,14 @@ public class BiomeGenBambooForest extends BOPBiome
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void func_150573_a(World p_150573_1_, Random p_150573_2_, Block[] p_150573_3_, byte[] p_150573_4_, int p_150573_5_, int p_150573_6_, double p_150573_7_)
|
||||||
|
{
|
||||||
|
this.topBlock = Blocks.dirt;
|
||||||
|
this.field_150604_aj = 2;
|
||||||
|
|
||||||
|
this.func_150560_b(p_150573_1_, p_150573_2_, p_150573_3_, p_150573_4_, p_150573_5_, p_150573_6_, p_150573_7_);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
//TODO: getRandomWorldGenForTrees()
|
//TODO: getRandomWorldGenForTrees()
|
||||||
|
@ -88,7 +96,8 @@ public class BiomeGenBambooForest extends BOPBiome
|
||||||
//TODO: getBiomeFoliageColor()
|
//TODO: getBiomeFoliageColor()
|
||||||
public int func_150571_c(int x, int y, int z)
|
public int func_150571_c(int x, int y, int z)
|
||||||
{
|
{
|
||||||
return 10739795;
|
double d0 = field_150606_ad.func_151601_a((double)x * 0.0225D, (double)z * 0.0225D);
|
||||||
|
return d0 < -0.7D ? 13949781 : (d0 < -0.3 ? 12311892 : 10739795);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@Override
|
/*@Override
|
||||||
|
|
|
@ -82,4 +82,21 @@ public class BiomeGenRedwoodForest extends BOPBiome
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void func_150573_a(World p_150573_1_, Random p_150573_2_, Block[] p_150573_3_, byte[] p_150573_4_, int p_150573_5_, int p_150573_6_, double p_150573_7_)
|
||||||
|
{
|
||||||
|
|
||||||
|
if (p_150573_7_ > 1.75D)
|
||||||
|
{
|
||||||
|
this.topBlock = Blocks.grass;
|
||||||
|
this.field_150604_aj = 0;
|
||||||
|
}
|
||||||
|
else if (p_150573_7_ > -0.95D)
|
||||||
|
{
|
||||||
|
this.topBlock = Blocks.dirt;
|
||||||
|
this.field_150604_aj = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.func_150560_b(p_150573_1_, p_150573_2_, p_150573_3_, p_150573_4_, p_150573_5_, p_150573_6_, p_150573_7_);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,10 +106,9 @@ public class BOPBiomes
|
||||||
|
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenAlps(BOPConfigurationIDs.alpsID).setBiomeName("Alps"), BOPBiomeTemperatureType.ICY));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenAlps(BOPConfigurationIDs.alpsID).setBiomeName("Alps"), BOPBiomeTemperatureType.ICY));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenArctic(BOPConfigurationIDs.arcticID).setBiomeName("Arctic"), BOPBiomeTemperatureType.ICY));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenArctic(BOPConfigurationIDs.arcticID).setBiomeName("Arctic"), BOPBiomeTemperatureType.ICY));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBambooForest(BOPConfigurationIDs.bambooForestID).setBiomeName("Bamboo Forest"), BOPBiomeTemperatureType.HOT));
|
registerOnlyBiome(new BOPBiomeListEntry(new BiomeGenBambooForest(BOPConfigurationIDs.bambooForestID).setBiomeName("Bamboo Forest"), BOPBiomeTemperatureType.HOT));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBayou(BOPConfigurationIDs.bayouID).setBiomeName("Bayou"), BOPBiomeTemperatureType.WARM));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenBayou(BOPConfigurationIDs.bayouID).setBiomeName("Bayou"), BOPBiomeTemperatureType.WARM));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBog(BOPConfigurationIDs.bogID).setBiomeName("Bog"), BOPBiomeTemperatureType.WARM));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenBog(BOPConfigurationIDs.bogID).setBiomeName("Bog"), BOPBiomeTemperatureType.WARM));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBambooForest(BOPConfigurationIDs.bambooForestID).setBiomeName("Bamboo Forest"), BOPBiomeTemperatureType.HOT));
|
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBorealForest(BOPConfigurationIDs.borealForestID).setBiomeName("Boreal Forest"), BOPBiomeTemperatureType.WARM));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenBorealForest(BOPConfigurationIDs.borealForestID).setBiomeName("Boreal Forest"), BOPBiomeTemperatureType.WARM));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenBrushland(BOPConfigurationIDs.brushlandID).setBiomeName("Brushland"), BOPBiomeTemperatureType.HOT));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenBrushland(BOPConfigurationIDs.brushlandID).setBiomeName("Brushland"), BOPBiomeTemperatureType.HOT));
|
||||||
registerBiome(new BOPBiomeListEntry(new BiomeGenCanyon(BOPConfigurationIDs.canyonID).setBiomeName("Canyon"), BOPBiomeTemperatureType.HOT));
|
registerBiome(new BOPBiomeListEntry(new BiomeGenCanyon(BOPConfigurationIDs.canyonID).setBiomeName("Canyon"), BOPBiomeTemperatureType.HOT));
|
||||||
|
|
Loading…
Reference in a new issue