Examples of BigTreeObject


Examples of org.spout.vanilla.world.generator.normal.object.tree.BigTreeObject

  @Filter (PlayerFilter.class)
  public void growTree(Player player, CommandArguments args) throws CommandException {
    args.assertCompletelyParsed();
    Point pos = player.getPhysics().getPosition();

    BigTreeObject tree = new BigTreeObject();
    tree.placeObject(pos.getWorld(), pos.getBlockX(), pos.getBlockY(), pos.getBlockZ());
    player.getPhysics().setPosition(pos.add(new Vector3f(0, 50, 0)));
  }
View Full Code Here

Examples of org.spout.vanilla.world.generator.normal.object.tree.BigTreeObject

  public static class NormalTreeWGOFactory implements TreeWGOFactory {
    @Override
    public TreeObject make(Random random) {
      if (random.nextInt(10) == 0) {
        return new BigTreeObject();
      } else {
        return new SmallTreeObject();
      }
    }
View Full Code Here

Examples of org.spout.vanilla.world.generator.normal.object.tree.BigTreeObject

    }

    @Override
    public TreeObject make(Random random) {
      if (random.nextInt(10) == 0) {
        return new BigTreeObject();
      }
      if (random.nextInt(2) == 0) {
        return new ShrubObject();
      }
      if (random.nextInt(3) == 0) {
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.