mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Block.getLightLevel()
By: sk89q <the.sk89q@gmail.com>
This commit is contained in:
parent
63595772bd
commit
c6d45a3ae2
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue