1
0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-30 20:21:41 +01:00

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

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