mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +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
|
@ -43,6 +43,13 @@ public interface Block {
|
||||||
*/
|
*/
|
||||||
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
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue