444546474849505152
int z = (int) player.posZ; WorldGenerator gen = new WorldGenBalsa((ITreeGenData) PluginArboriculture.treeInterface.getTree(player.worldObj, TreeTemplates.templateAsGenome(PluginArboriculture.treeInterface.getTemplate("treeBalsa")))); gen.generate(player.worldObj, player.worldObj.rand, x, y, z); } }
4243444546474849
WorldGenerator gen = new WorldGenBalsa((ITreeGenData) PluginArboriculture.treeInterface.getTree(player.worldObj, TreeTemplates.templateAsGenome(PluginArboriculture.treeInterface.getTemplate("treeBalsa")))); for (int i = 0; i < 16; i++) gen.generate(player.worldObj, player.worldObj.rand, x + player.worldObj.rand.nextInt(32), y, z + player.worldObj.rand.nextInt(32)); } }
5758596061626364656667
if (timesTicked < maturity) return result; WorldGenerator generator = this.getTree().getTreeGenerator(worldObj, xCoord, yCoord, zCoord, bonemealed); if (generator.generate(worldObj, worldObj.rand, xCoord, yCoord, zCoord)) { PluginArboriculture.treeInterface.getBreedingTracker(worldObj, getOwnerProfile()).registerBirth(getTree()); return 2; } return 3;
106107108109110111112113114115116
world.setBlock(x, y, z, Blocks.air); WorldGenerator obj = null; obj = new SlimeTreeGen(true, 5, 4, 1, 0); if (!(obj.generate(world, random, x, y, z))) world.setBlock(x, y, z, this, md + 8, 3); } public int damageDropped (int i) {