Added a temporary fix for the ugly taiga tree bases in the side of hills
This commit is contained in:
parent
2bb960ed24
commit
b3a5b46361
1 changed files with 8 additions and 0 deletions
|
@ -217,6 +217,14 @@ public class GeneratorTaigaTree extends GeneratorTreeBase
|
|||
int trunkStart = MathHelper.ceiling_double_int(0.25D - trunkWidth / 2.0D);
|
||||
int trunkEnd = MathHelper.floor_double(0.25D + trunkWidth / 2.0D);
|
||||
|
||||
// TODO: Temporary fix for trees generating larger than normal bases when in the sides of hills
|
||||
// Should look into doing this properly but i'm busy :P
|
||||
if (this.trunkWidth <= 1)
|
||||
{
|
||||
trunkStart = 0;
|
||||
trunkEnd = 0;
|
||||
}
|
||||
|
||||
for (int x = trunkStart; x <= trunkEnd; x++)
|
||||
{
|
||||
for (int z = trunkStart; z <= trunkEnd; z++)
|
||||
|
|
Loading…
Reference in a new issue