Block.getLightLevel()

This commit is contained in:
sk89q
2011-01-02 18:31:04 -08:00
committed by Dinnerbone
parent 36a7be3602
commit 61d42cb7cc

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