diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-25 01:05:32 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-25 01:05:32 +0100 |
commit | ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d (patch) | |
tree | 1b991a6e08763e96a583ec3d49ec5c845b66bcb2 /src/main/java/org | |
parent | 637ffd6f11f53c6a3942eb5d7556aba256963ce1 (diff) | |
download | bukkit-ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d.tar bukkit-ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d.tar.gz bukkit-ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d.tar.lz bukkit-ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d.tar.xz bukkit-ef0834736a5c6bdcd2ffbddfe59fbfef2f3efc7d.zip |
Added world.getSeaLevel()
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/World.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index c46e963a..67b6d0d9 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -687,6 +687,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. * * @return true if the world's spawn area will be kept loaded into memory. |