mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-10 06:40:24 +02:00
parent
b10545994a
commit
f13a5a7b3d
|
@ -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