Improved Redwood Forests

This commit is contained in:
Forstride 2016-04-05 22:58:12 -04:00
parent 285a747073
commit 8f06f0d8e2
2 changed files with 5 additions and 4 deletions

View File

@ -40,7 +40,7 @@ public class BiomeGenRedwoodForest extends BOPBiome
super("redwood_forest", new PropsBuilder("Redwood Forest").withGuiColour(0x6DAA3C).withTemperature(0.7F).withRainfall(0.7F));
// terrain
this.terrainSettings.avgHeight(63).heightVariation(5, 5).octaves(0, 1, 2, 2, 1, 0);
this.terrainSettings.avgHeight(64).heightVariation(3, 7).octaves(0, 1, 2, 2, 1, 0);
this.topBlock = Blocks.grass.getDefaultState();
this.usualTopBlock = this.topBlock;

View File

@ -18,6 +18,7 @@ import biomesoplenty.common.util.biome.GeneratorUtils;
import biomesoplenty.common.util.block.BlockQuery.IBlockPosQuery;
import biomesoplenty.common.util.config.BOPConfig.IConfigObj;
import biomesoplenty.common.world.feature.GeneratorSpike;
import net.minecraft.block.BlockOldLeaf;
import net.minecraft.block.state.IBlockState;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
@ -35,7 +36,7 @@ public class GeneratorRedwoodTree extends GeneratorTreeBase
this.placeOn = BlockQueries.fertile;
this.replace = BlockQueries.replaceable;
this.log = BlockBOPLog.paging.getVariantState(BOPWoods.REDWOOD);
this.leaves = BlockBOPLeaves.paging.getVariantState(BOPTrees.REDWOOD);
this.leaves = BlockBOPLeaves.paging.getVariantState(BOPTrees.REDWOOD).withProperty(BlockOldLeaf.CHECK_DECAY, Boolean.valueOf(false));
this.vine = null;
this.hanging = null;
this.altLeaves = null;
@ -116,8 +117,8 @@ public class GeneratorRedwoodTree extends GeneratorTreeBase
int leavesRadius;
//Alternate between a smaller radius and a larger radius
if (index < 2) leavesRadius = 2;
else leavesRadius = 3;
if (index < 2) leavesRadius = 3;
else leavesRadius = 5;
//This may break for larger radii however it will do for this purpose
double increment = 0.05D;