mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
SPIGOT-6357: Add World#getMinHeight
By: md_5 <git@md-5.net>
This commit is contained in:
parent
a796329436
commit
b2935a657a
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user