Block.getLightLevel()

This commit is contained in:
sk89q 2011-01-02 18:31:04 -08:00 committed by Dinnerbone
parent 88bb572084
commit 40985fcde0

View File

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