diff --git a/paper-api/pom.xml b/paper-api/pom.xml index 615a33a724..0e75064448 100644 --- a/paper-api/pom.xml +++ b/paper-api/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/paper-api/src/main/java/org/bukkit/BlockChangeDelegate.java b/paper-api/src/main/java/org/bukkit/BlockChangeDelegate.java index 78c7b7bc44..7f4261e636 100644 --- a/paper-api/src/main/java/org/bukkit/BlockChangeDelegate.java +++ b/paper-api/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); }