mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
Added world.getSeaLevel()
This commit is contained in:
parent
637ffd6f11
commit
ef0834736a
1 changed files with 9 additions and 0 deletions
|
@ -686,6 +686,15 @@ public interface World {
|
|||
*/
|
||||
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.
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue