SPIGOT-6357: Add World#getMinHeight

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2021-03-28 19:31:39 +11:00
parent a796329436
commit b2935a657a

View File

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