Package org.spout.vanilla.world.generator.normal.object.tree

Examples of org.spout.vanilla.world.generator.normal.object.tree.TreeObject.placeObject()


      final int y = getHighestWorkableBlock(world, x, z);
      if (y == -1) {
        continue;
      }
      if (tree.canPlaceObject(world, x, y, z)) {
        tree.placeObject(world, x, y, z);
      }
    }
  }

  private int getHighestWorkableBlock(World w, int x, int z) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.