mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07: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:
@@ -2,7 +2,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>org.bukkit</groupId>
|
<groupId>org.bukkit</groupId>
|
||||||
<artifactId>bukkit</artifactId>
|
<artifactId>bukkit</artifactId>
|
||||||
<version>1.2.2-R0-SNAPSHOT</version>
|
<version>1.2.2-R0.1-SNAPSHOT</version>
|
||||||
<name>Bukkit</name>
|
<name>Bukkit</name>
|
||||||
<url>http://www.bukkit.org</url>
|
<url>http://www.bukkit.org</url>
|
||||||
|
|
||||||
|
@@ -46,4 +46,14 @@ public interface BlockChangeDelegate {
|
|||||||
* @return Height of the world
|
* @return Height of the world
|
||||||
*/
|
*/
|
||||||
public int getHeight();
|
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user