@@ -208,6 +208,15 @@ public final class Bukkit {
|
|||||||
return server.getGenerateStructures();
|
return server.getGenerateStructures();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get max world size.
|
||||||
|
*
|
||||||
|
* @return the maximum world size as specified for the server
|
||||||
|
*/
|
||||||
|
public static int getMaxWorldSize() {
|
||||||
|
return server.getMaxWorldSize();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets whether this server allows the End or not.
|
* Gets whether this server allows the End or not.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -173,6 +173,13 @@ public interface Server extends PluginMessageRecipient {
|
|||||||
*/
|
*/
|
||||||
public boolean getGenerateStructures();
|
public boolean getGenerateStructures();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get max world size.
|
||||||
|
*
|
||||||
|
* @return the maximum world size as specified for the server
|
||||||
|
*/
|
||||||
|
public int getMaxWorldSize();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets whether this server allows the End or not.
|
* Gets whether this server allows the End or not.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user