Package org.spout.api.generator

Examples of org.spout.api.generator.WorldGeneratorObject.canPlaceObject()


    final World world = loc.getWorld();
    final int x = loc.getBlockX();
    final int y = loc.getBlockY();
    final int z = loc.getBlockZ();
    final boolean force = args.has("force");
    if (!object.canPlaceObject(world, x, y, z)) {
      player.sendMessage("Couldn't place the object.");
      if (!force) {
        return;
      }
      player.sendMessage("Forcing placement.");
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.