mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-22 11:53:29 +01:00
parent
b10545994a
commit
f13a5a7b3d
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ public class WorldGenAncientTree extends WorldGenAbstractTree {
|
|||
BlockPos goal = pos.add(x, 0, z);
|
||||
while (!world.getBlockState(goal).isFullBlock()) {
|
||||
goal = goal.down();
|
||||
if (goal.distanceSq(pos) >= 10 * 10)
|
||||
break;
|
||||
}
|
||||
this.makeBranch(world, pos.up(rand.nextInt(1)), goal, ModBlocks.ANCIENT_BARK.getDefaultState(), false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue