Package forestry.apiculture.worldgen

Examples of forestry.apiculture.worldgen.WorldGenHiveSwamer.generate()


    while (i < 10) {
      i++;
      int spawnX = xCoord + worldObj.rand.nextInt(40 * 2) - 40;
      int spawnY = yCoord + worldObj.rand.nextInt(40);
      int spawnZ = zCoord + worldObj.rand.nextInt(40 * 2) - 40;
      if (generator.generate(worldObj, worldObj.rand, spawnX, spawnY, spawnZ)) {
        pendingSpawns.pop();
        break;
      }
    }

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.