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

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


        final int x = chunk.getBlockX(random);
        final int y = random.nextInt(oreType.getMaxHeight() - oreType.getMinHeight())
            + oreType.getMinHeight();
        final int z = chunk.getBlockZ(random);
        if (ore.canPlaceObject(world, x, y, z)) {
          ore.placeObject(world, x, y, 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.