mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Added isEmpty to BlockChangeDelegate - this implements BUKKIT-868. Also changed version to 1.2.2-R0.1-SNAPSHOT for the upcoming beta.
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
0d88d69fd9
commit
4a137ee96a
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.bukkit</groupId>
|
||||
<artifactId>bukkit</artifactId>
|
||||
<version>1.2.2-R0-SNAPSHOT</version>
|
||||
<version>1.2.2-R0.1-SNAPSHOT</version>
|
||||
<name>Bukkit</name>
|
||||
<url>http://www.bukkit.org</url>
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user