geforkt von Mirrors/Paper
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>
Dieser Commit ist enthalten in:
Ursprung
0d88d69fd9
Commit
4a137ee96a
@ -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);
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren