mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 02:02:04 -07:00
@@ -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
|
||||
|
Reference in New Issue
Block a user