Added world.getSeaLevel()

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-09-25 01:05:32 +01:00
parent 530662e3b6
commit e1825bdfd5

View File

@@ -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.
*