Examples of regenerateChunk()


Examples of org.bukkit.World.regenerateChunk()

          // iterate through the chunks
          if (regening) {
            for (int x = chunkX - radius; x <= chunkX + radius; x++) {
              for (int z = chunkZ - radius; z <= chunkZ + radius; z++) {
                player.sendMessage("Regenerating chunk[" + x + ", " + z + "]");
                world.regenerateChunk(x, z);
              }
            }
          }
         
          // cleaning up chunks of stray items
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.