diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/ChunkSnapshot.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/ChunkSnapshot.java b/src/main/java/org/bukkit/ChunkSnapshot.java index e1373c61..b2f57ef0 100644 --- a/src/main/java/org/bukkit/ChunkSnapshot.java +++ b/src/main/java/org/bukkit/ChunkSnapshot.java @@ -111,4 +111,11 @@ public interface ChunkSnapshot { * @return time in ticks */ long getCaptureFullTime(); + + /** + * Test if section is empty + * @param sy - section Y coordinate (block Y / 16) + * @return true if empty, false if not + */ + boolean isSectionEmpty(int sy); } |