From 2a85f4848b6da26fc0f3422e8ce05244a5c5c5c1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 4 Feb 2011 20:11:20 +0000 Subject: [PATCH] getLoadedChunks method By: Raphfrk --- paper-api/src/main/java/org/bukkit/World.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index a57006a80c..83cb2307c6 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -75,6 +75,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 *