Commits
Christopher Bohn authored and md_5 committed 8f495b8db19
201 201 | |
202 202 | /** |
203 203 | * Get generate-structures setting. |
204 204 | * |
205 205 | * @return true if structure generation is enabled, false otherwise |
206 206 | */ |
207 207 | public static boolean getGenerateStructures() { |
208 208 | return server.getGenerateStructures(); |
209 209 | } |
210 210 | |
211 + | /** |
212 + | * Get max world size. |
213 + | * |
214 + | * @return the maximum world size as specified for the server |
215 + | */ |
216 + | public static int getMaxWorldSize() { |
217 + | return server.getMaxWorldSize(); |
218 + | } |
219 + | |
211 220 | /** |
212 221 | * Gets whether this server allows the End or not. |
213 222 | * |
214 223 | * @return whether this server allows the End or not |
215 224 | */ |
216 225 | public static boolean getAllowEnd() { |
217 226 | return server.getAllowEnd(); |
218 227 | } |
219 228 | |
220 229 | /** |