mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
General cleanup (deprecated+whitespace)
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
1 parent
b01fc3ffa8
commit
474817bf11
27 files changed
+224
-244
No files matched your search
@@ -79,10 +79,10 @@ public interface Block {
|
||||
* @return block type-id
|
||||
*/
|
||||
int getTypeId();
|
||||
|
||||
|
||||
/**
|
||||
* Gets the light level between 0-15
|
||||
*
|
||||
*
|
||||
* @return light level
|
||||
*/
|
||||
byte getLightLevel();
|
||||
@@ -187,17 +187,17 @@ public interface Block {
|
||||
* @return Biome type containing this block
|
||||
*/
|
||||
Biome getBiome();
|
||||
|
||||
|
||||
/**
|
||||
* Returns true if the block is being powered by Redstone.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isBlockPowered();
|
||||
|
||||
/**
|
||||
* Returns true if the block is being indirectly powered by Redstone.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
boolean isBlockIndirectlyPowered();
|
||||
|
||||
Reference in new issue
Block a user