aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/bop/blocks/rainforest')
-rw-r--r--src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java
index e36d24e695..0cd76fa734 100644
--- a/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java
+++ b/src/Java/gtPlusPlus/xmod/bop/blocks/rainforest/SaplingRainforestTree.java
@@ -13,16 +13,18 @@ import net.minecraft.world.gen.feature.*;
public class SaplingRainforestTree extends SaplingBase {
- public SaplingRainforestTree(){
- super("Rainforest Oak Sapling", "rainforestoak", new String[]{"rainforest"});
- }
+ public SaplingRainforestTree(){
+ super("Rainforest Oak Sapling", "rainforestoak", new String[]{"rainforest"});
+ }
- @Override
+ @Override
public void func_149878_d(World world, int x, int y, int z, Random rand){
Utils.LOG_WARNING("func_149878_d - 1");
if (!net.minecraftforge.event.terraingen.TerrainGen.saplingGrowTree(world, rand, x, y, z)) return;
int l = world.getBlockMetadata(x, y, z) & 7;
- Object object = rand.nextInt(10) == 0 ? new WorldGenBigTree(true) : new WorldGenTrees(true);
+ rand.nextInt(10);
+ new WorldGenBigTree(true);
+ new WorldGenTrees(true);
int i1 = 0;
int j1 = 0;
boolean flag = false;
@@ -40,10 +42,8 @@ public class SaplingRainforestTree extends SaplingBase {
{
world.setBlock(x, y, z, block, 0, 4);
}
-//public WorldGenRainForestTree_Ex(Block wood, Block leaves, int woodMeta, int leavesMeta, boolean doBlockNotify, int minTreeHeight, int randomTreeHeight) {
- Class C = BOP_Block_Registrator.class;
Object o = new WorldGenRainForestTree_Ex(BOP_Block_Registrator.log_Rainforest, BOP_Block_Registrator.leaves_Rainforest, 0, 0, true, 50, 75);
-
+
if (!((WorldGenerator)o).generate(world, rand, x + i1, y, z + j1))
{
if (flag)
@@ -59,5 +59,5 @@ public class SaplingRainforestTree extends SaplingBase {
}
}
}
-
+
} \ No newline at end of file