Block.getLightLevel()

By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
Bukkit/Spigot 2011-01-02 18:31:04 -08:00
parent 63595772bd
commit c6d45a3ae2

View file

@ -42,6 +42,13 @@ public interface Block {
* @return block type-ID
*/
int getTypeID();
/**
* Gets the light level between 0-15.
*
* @return light level
*/
int getLightLevel();
/**
* Gets the world which contains this Block