SPIGOT-6357: Add World#getMinHeight

This commit is contained in:
md_5 2021-03-28 19:31:39 +11:00
parent 4e5f46cb27
commit 15ba9ae78a
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

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>