summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/World.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
index c8318d30..93ff5f5a 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -139,6 +139,15 @@ public interface World extends PluginMessageRecipient, Metadatable {
public boolean isChunkLoaded(int x, int z);
/**
+ * Checks if the {@link Chunk} at the specified coordinates is generated
+ *
+ * @param x X-coordinate of the chunk
+ * @param z Z-coordinate of the chunk
+ * @return true if the chunk is generated, otherwise false
+ */
+ public boolean isChunkGenerated(int x, int z);
+
+ /**
* Checks if the {@link Chunk} at the specified coordinates is loaded and
* in use by one or more players
*