mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Block.getLightLevel()
This commit is contained in:
parent
88bb572084
commit
40985fcde0
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue