summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/World.java9
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 c2991781..b09fb131 100644
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -668,6 +668,15 @@ public interface World {
public double getHumidity(int x, int z);
/**
+ * Gets the maximum height of this world.
+ *
+ * If the max height is 100, there are only blocks from y=0 to y=99.
+ *
+ * @return Maximum height of the world
+ */
+ public int getMaxHeight();
+
+ /**
* Represents various map environment types that a world may be
*/
public enum Environment {