diff options
author | Raphfrk <raphfrk@gmail.com> | 2011-02-04 20:11:20 +0000 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-02-05 14:50:19 +0100 |
commit | f24d79052c6c03598248046eda9920a9abd2454d (patch) | |
tree | ecf386e0545dfe1547f5856fc7d2ee5aaf2c1d1b /src | |
parent | d167abe6d73eda182429cc4fc0c59496333f844b (diff) | |
download | bukkit-f24d79052c6c03598248046eda9920a9abd2454d.tar bukkit-f24d79052c6c03598248046eda9920a9abd2454d.tar.gz bukkit-f24d79052c6c03598248046eda9920a9abd2454d.tar.lz bukkit-f24d79052c6c03598248046eda9920a9abd2454d.tar.xz bukkit-f24d79052c6c03598248046eda9920a9abd2454d.zip |
getLoadedChunks method
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/World.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index a57006a8..83cb2307 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -76,6 +76,13 @@ public interface World { public boolean isChunkLoaded(Chunk chunk); /** + * Gets an array of all loaded chunks + * + * @return Chunk array of all loaded chunks + */ + public Chunk[] getLoadedChunks(); + + /** * Loads the specified chunk * */ |