mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
Fixed spawn fruit block
This commit is contained in:
1 parent
e0ab7a89cc
commit
bf40504ddf
1 file changed
+4
-4
@@ -169,10 +169,10 @@ public class WorldGenTree extends WorldGenerator {
|
||||
for (int x2 = 0; x2 < this.girth; ++x2) {
|
||||
for (int z = 0; z < this.girth; ++z) {
|
||||
if (x2 <= 0 || x2 >= this.girth || z <= 0 || z >= this.girth) {
|
||||
//this.treeGen.trySpawnFruitBlock(this.world, this.startX + x2 + 1, this.startY + y2, this.startZ + z);
|
||||
//this.treeGen.trySpawnFruitBlock(this.world, this.startX + x2 - 1, this.startY + y2, this.startZ + z);
|
||||
//this.treeGen.trySpawnFruitBlock(this.world, this.startX + x2, this.startY + y2, this.startZ + z + 1);
|
||||
//this.treeGen.trySpawnFruitBlock(this.world, this.startX + x2, this.startY + y2, this.startZ + z - 1);
|
||||
treeGen.trySpawnFruitBlock(world, world.rand, new BlockPos(startX + x2 + 1, startY + y2, startZ + z));
|
||||
treeGen.trySpawnFruitBlock(world, world.rand, new BlockPos(startX + x2 - 1, startY + y2, startZ + z));
|
||||
treeGen.trySpawnFruitBlock(world, world.rand, new BlockPos(startX + x2, startY + y2, startZ + z + 1));
|
||||
treeGen.trySpawnFruitBlock(world, world.rand, new BlockPos(startX + x2, startY + y2, startZ + z - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user