Tweaked cypress tree generation

This commit is contained in:
Forstride 2019-08-11 05:04:57 -04:00
parent 4552aa716d
commit c3be92173c
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
<p align="center"><img src="http://i.imgur.com/uP9GBEb.png"></p>
<p align="center"><img src="https://i.imgur.com/CYxKg5M.png"> Discord Server: https://discord.gg/0loJvLMgvZi0q596</p>
<p align="center"><img src="https://i.imgur.com/CYxKg5M.png"></p>
<p align="center">https://discord.gg/0loJvLMgvZi0q596</p>
**Biomes O' Plenty** is a **Minecraft mod** that adds **over 50 new biomes** to the Overworld, Nether, and End. From Lavender Fields to Redwood Forests and many more, all of our biomes are decorated with a variety of **new trees, flowers, and plants!**

View File

@ -217,7 +217,7 @@ public class CypressTreeFeature extends TreeFeatureBase
// Generate the trunk
for (int y = 0; y < height - 1; y++)
{
int trunkWidth = (this.trunkWidth * (height - y) / height) + 1;
int trunkWidth = (this.trunkWidth * ((baseHeight + 5) - y) / (baseHeight + 5)) + 1;
int trunkStart = MathHelper.ceil(0.25D - trunkWidth / 2.0D);
int trunkEnd = MathHelper.floor(0.25D + trunkWidth / 2.0D);