mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2025-02-18 05:21:57 +01:00
Added getWorldUID method to MultiverseWorld.
This commit is contained in:
parent
0395ead29d
commit
0ac858c361
@ -15,6 +15,7 @@ import com.onarandombox.multiverse.core.minecraft.WorldEnvironment;
|
|||||||
import com.onarandombox.multiverse.core.minecraft.WorldType;
|
import com.onarandombox.multiverse.core.minecraft.WorldType;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The API for a Multiverse Handled World.
|
* The API for a Multiverse Handled World.
|
||||||
@ -31,6 +32,15 @@ public interface MultiverseWorld {
|
|||||||
*/
|
*/
|
||||||
String getName();
|
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:
|
* Gets the type of this world. As of 1.2 this will be:
|
||||||
* FLAT, NORMAL or VERSION_1_1
|
* FLAT, NORMAL or VERSION_1_1
|
||||||
|
Loading…
Reference in New Issue
Block a user