From ff9a7fc5be3033a26c962c66f6c767cdcbfb7efb Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Thu, 1 Mar 2012 13:55:29 -0600 Subject: Implemented snapshot support for 1.2. --- src/main/java/org/bukkit/ChunkSnapshot.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main') 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); } -- cgit v1.2.3