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

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


    final Biome decorating = chunk.getBiome(7, 7, 7);
    final byte amount = factory.amount(random);
    for (byte count = 0; count < amount; count++) {
      final TreeObject tree = factory.make(random);
      tree.setRandom(random);
      tree.randomize();
      final int x = chunk.getBlockX(random);
      final int z = chunk.getBlockZ(random);
      if (decorating != world.getBiome(x, 64, z)) {
        continue;
      }
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.