From b2935a657a47c0b7e54e6a4ce0edb877c4eab63e Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 28 Mar 2021 19:31:39 +1100 Subject: [PATCH] SPIGOT-6357: Add World#getMinHeight By: md_5 --- paper-api/src/main/java/org/bukkit/World.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index 3240d10111..b6eccdf8da 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -1505,6 +1505,15 @@ public interface World extends PluginMessageRecipient, Metadatable { */ public double getHumidity(int x, int y, int z); + /** + * Gets the minimum height of this world. + *

+ * If the min height is 0, there are only blocks from y=0. + * + * @return Minimum height of the world + */ + public int getMinHeight(); + /** * Gets the maximum height of this world. *