aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/bop/world/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/bop/world/features')
-rw-r--r--src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenPineTree.java84
1 files changed, 42 insertions, 42 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenPineTree.java b/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenPineTree.java
index bc97042c82..5d33b482a6 100644
--- a/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenPineTree.java
+++ b/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenPineTree.java
@@ -10,7 +10,7 @@ import net.minecraft.world.gen.feature.WorldGenAbstractTree;
import net.minecraftforge.common.util.ForgeDirection;
import gtPlusPlus.core.util.math.MathUtils;
-import gtPlusPlus.xmod.bop.blocks.BOP_Block_Registrator;
+import gtPlusPlus.xmod.bop.blocks.BOPBlockRegistrator;
public class WorldGenPineTree extends WorldGenAbstractTree {
@@ -49,7 +49,7 @@ public class WorldGenPineTree extends WorldGenAbstractTree {
int c;
int r = MathUtils.randInt(1, 3);
for (c = 0; c < height; ++c) {
- this.buildBlock(world, x, y + h, z, BOP_Block_Registrator.log_Pine, 0);
+ this.buildBlock(world, x, y + h, z, BOPBlockRegistrator.log_Pine, 0);
h++;
if (c >= r && c % 2 == 0) {
this.generateBranch(world, random, x, y + h, z, c);
@@ -64,16 +64,16 @@ public class WorldGenPineTree extends WorldGenAbstractTree {
public void generateTop(World world, int x, int y, int z) {
for (int i = -1; i < 2; ++i) {
for (int j = -1; j < 2; ++j) {
- this.buildBlock(world, x + i, y, z + j, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + i, y, z + j, BOPBlockRegistrator.leaves_Pine, 0);
}
}
- this.buildBlock(world, x, y, z, BOP_Block_Registrator.log_Pine, 0);
- this.buildBlock(world, x + 1, y + 1, z, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x, y + 1, z - 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x, y + 1, z + 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 1, y + 1, z, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x, y + 2, z, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x, y, z, BOPBlockRegistrator.log_Pine, 0);
+ this.buildBlock(world, x + 1, y + 1, z, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x, y + 1, z - 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x, y + 1, z + 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 1, y + 1, z, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x, y + 2, z, BOPBlockRegistrator.leaves_Pine, 0);
}
public void generateBranch(World world, Random rand, int x, int y, int z, int n) {
@@ -81,7 +81,7 @@ public class WorldGenPineTree extends WorldGenAbstractTree {
int var99998;
for (var99999 = -1; var99999 < 2; ++var99999) {
for (var99998 = -1; var99998 < 2; ++var99998) {
- this.buildBlock(world, x + var99999, y, z + var99998, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + var99999, y, z + var99998, BOPBlockRegistrator.leaves_Pine, 0);
}
}
@@ -91,72 +91,72 @@ public class WorldGenPineTree extends WorldGenAbstractTree {
int var99996 = rand.nextInt(2);
if (n % 2 == 0) {
if (var99998 == 0) {
- this.buildBlock(world, x + 1, y - 1, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x + 2, y - 1, z - 1, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 1, y - 1, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 1, z - 1, BOPBlockRegistrator.leaves_Pine, 0);
if (var99999 == 0) {
- this.buildBlock(world, x + 2, y - 2, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 2, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x + 2, y - 1, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 1, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
}
} else {
- this.buildBlock(world, x + 1, y, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x + 2, y, z - 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x + 2, y, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 1, y, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y, z - 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
}
if (var99997 == 0) {
- this.buildBlock(world, x - 2, y - 1, z + 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 1, y - 1, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 1, z + 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 1, y - 1, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
if (var99996 == 0) {
- this.buildBlock(world, x - 2, y - 2, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 2, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x - 2, y - 1, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 1, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
}
} else {
- this.buildBlock(world, x - 2, y, z + 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 1, y, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 2, y, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y, z + 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 1, y, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
}
} else {
if (var99998 == 0) {
- this.buildBlock(world, x + 2, y - 1, z + 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x + 1, y - 1, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 1, z + 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 1, y - 1, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
if (var99999 == 0) {
- this.buildBlock(world, x + 2, y - 2, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 2, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x + 2, y - 1, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 1, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
}
} else {
- this.buildBlock(world, x + 2, y, z + 1, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x + 1, y, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y, z + 1, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 1, y, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
if (var99999 == 0) {
- this.buildBlock(world, x + 2, y - 1, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y - 1, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x + 2, y, z + 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x + 2, y, z + 2, BOPBlockRegistrator.leaves_Pine, 0);
}
}
if (var99997 == 0) {
- this.buildBlock(world, x - 1, y - 1, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 2, y - 1, z - 1, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 1, y - 1, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 1, z - 1, BOPBlockRegistrator.leaves_Pine, 0);
if (var99996 == 0) {
- this.buildBlock(world, x - 2, y - 2, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 2, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x - 2, y - 1, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 1, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
}
} else {
- this.buildBlock(world, x - 1, y, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
- this.buildBlock(world, x - 2, y, z - 1, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 1, y, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y, z - 1, BOPBlockRegistrator.leaves_Pine, 0);
if (var99996 == 0) {
- this.buildBlock(world, x - 2, y - 1, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y - 1, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
} else {
- this.buildBlock(world, x - 2, y, z - 2, BOP_Block_Registrator.leaves_Pine, 0);
+ this.buildBlock(world, x - 2, y, z - 2, BOPBlockRegistrator.leaves_Pine, 0);
}
}
}
- this.buildBlock(world, x, y, z, BOP_Block_Registrator.log_Pine, 0);
- this.buildBlock(world, x, y + 1, z, BOP_Block_Registrator.log_Pine, 0);
+ this.buildBlock(world, x, y, z, BOPBlockRegistrator.log_Pine, 0);
+ this.buildBlock(world, x, y + 1, z, BOPBlockRegistrator.log_Pine, 0);
}
public void buildBlock(World world, int x, int y, int z, Block block, int meta) {