Added getWorldUID method to MultiverseWorld.

This commit is contained in:
Jeremy Wood 2012-11-09 12:54:44 -05:00
parent 0395ead29d
commit 0ac858c361

View File

@ -15,6 +15,7 @@ import com.onarandombox.multiverse.core.minecraft.WorldEnvironment;
import com.onarandombox.multiverse.core.minecraft.WorldType;
import java.util.List;
import java.util.UUID;
/**
* The API for a Multiverse Handled World.
@ -31,6 +32,15 @@ public interface MultiverseWorld {
*/
String getName();
/**
* Gets the UUID for this world.
*
* This is what Minecraft uses to keep tracks of worlds.
*
* @return The UUID for this world.
*/
UUID getWorldUID();
/**
* Gets the type of this world. As of 1.2 this will be:
* FLAT, NORMAL or VERSION_1_1