mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-06-29 08:05:06 +02:00
22 lines
597 B
Java
22 lines
597 B
Java
|
package net.ess3.provider;
|
||
|
|
||
|
import org.bukkit.World;
|
||
|
|
||
|
public interface WorldInfoProvider extends Provider {
|
||
|
/**
|
||
|
* Gets the maximum safe height for teleportation.
|
||
|
*
|
||
|
* @param world The world of which to check the maximum safe height.
|
||
|
* @return The maximum safe height for teleportation
|
||
|
*/
|
||
|
int getMaxSafeHeight(World world);
|
||
|
|
||
|
/**
|
||
|
* Gets the minimum safe height for teleportation.
|
||
|
*
|
||
|
* @param world The world of which to check the base height.
|
||
|
* @return The minimum safe height for teleportation
|
||
|
*/
|
||
|
int getMinSafeHeight(World world);
|
||
|
}
|