Added world.getSeaLevel()
This commit is contained in:
parent
637ffd6f11
commit
ef0834736a
@ -686,6 +686,15 @@ public interface World {
|
|||||||
*/
|
*/
|
||||||
public int getMaxHeight();
|
public int getMaxHeight();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the sea level for this world.
|
||||||
|
*
|
||||||
|
* This is often half of {@link #getMaxHeight()}
|
||||||
|
*
|
||||||
|
* @return Sea level
|
||||||
|
*/
|
||||||
|
public int getSeaLevel();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets whether the world's spawn area should be kept loaded into memory or not.
|
* Gets whether the world's spawn area should be kept loaded into memory or not.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user