/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/RegenerateCommand.java |
Parent Directory | Revision Log | Patch
revision 1974 by torben, Mon Apr 29 19:29:51 2013 UTC | revision 1975 by torben, Mon Apr 29 19:53:34 2013 UTC | |
---|---|---|
# | Line 34 public class RegenerateCommand implement | Line 34 public class RegenerateCommand implement |
34 | ||
35 | final int radius = 5; | final int radius = 5; |
36 | ||
37 | for (int x= (cx-radius); x<=(cx+radius); x++) { | for (int x= (cx+radius); x>=(cx-radius); x--) { |
38 | for (int z=(cz-radius); z<=(cz+radius); z++) { | for (int z=(cz+radius); z>=(cz-radius); z--) { |
39 | world.regenerateChunk(x,z); | world.regenerateChunk(x,z); |
40 | } | } |
41 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |