diff --git a/pom.xml b/pom.xml index 615a33a7..0e750644 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.bukkit bukkit - 1.2.2-R0-SNAPSHOT + 1.2.2-R0.1-SNAPSHOT Bukkit http://www.bukkit.org diff --git a/src/main/java/org/bukkit/BlockChangeDelegate.java b/src/main/java/org/bukkit/BlockChangeDelegate.java index 78c7b7bc..7f4261e6 100644 --- a/src/main/java/org/bukkit/BlockChangeDelegate.java +++ b/src/main/java/org/bukkit/BlockChangeDelegate.java @@ -46,4 +46,14 @@ public interface BlockChangeDelegate { * @return Height of the world */ public int getHeight(); + + /** + * Checks if the specified block is empty (air) or not. + * + * @param x X coordinate + * @param y Y coordinate + * @param z Z coordinate + * @return True if the block is considered empty. + */ + public boolean isEmpty(int x, int y, int z); }