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

Fixes BUKKIT-655 and BUKKIT-592
This commit is contained in:
Eric Stokes
2012-01-29 10:22:45 -07:00
committed by EvilSeph
parent 24f5cb0b5c
commit 33dd7cd0c7
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
*/