Added 'generate-structure' setting support and WorldCreator property.

Fixes BUKKIT-655 and BUKKIT-592

By: Eric Stokes <fernferret@gmail.com>
This commit is contained in:
Bukkit/Spigot
2012-01-29 10:22:45 -07:00
parent 378815c162
commit b4c3ba3d33
2 changed files with 28 additions and 0 deletions

View File

@@ -761,6 +761,13 @@ public interface World extends PluginMessageRecipient {
*/
public WorldType getWorldType();
/**
* Gets whether or not structures are being generated.
*
* @return True if structures are being generated.
*/
public boolean canGenerateStructures();
/**
* Represents various map environment types that a world may be
*/